12 lines
211 B
Docker
12 lines
211 B
Docker
FROM nginx:1.13.9-alpine
|
|
|
|
RUN mkdir app
|
|
RUN mkdir -p /run/nginx
|
|
|
|
COPY build /app
|
|
COPY docker/nginx/conf.d/ /etc/nginx/conf.d/
|
|
|
|
EXPOSE 80
|
|
|
|
VOLUME [ "/etc/nginx/conf.d" ]
|
|
ENTRYPOINT ["nginx", "-g", "daemon off;"]
|