Sword/Dockerfile

12 lines
247 B
Docker
Raw Normal View History

FROM nginx:stable-alpine-perl
2019-02-13 17:16:39 +08:00
RUN rm -f /etc/nginx/nginx.conf \
&& rm -f /etc/nginx/conf.d/default.conf
COPY docker/nginx.k8s.conf /etc/nginx/nginx.conf
2019-02-13 17:16:39 +08:00
EXPOSE 80
2019-02-13 17:16:39 +08:00
COPY ./dist /usr/share/nginx/html
2019-02-13 17:16:39 +08:00
ENTRYPOINT ["nginx", "-g", "daemon off;"]