12 lines
212 B
Docker
12 lines
212 B
Docker
|
|
FROM nginx:alpine
|
|
|
|
# Copy site files
|
|
COPY . /usr/share/nginx/html
|
|
|
|
# Replace the default nginx config to listen on 3000
|
|
RUN sed -i 's/listen 80;/listen 3000;/' /etc/nginx/conf.d/default.conf
|
|
|
|
EXPOSE 3000
|
|
|