Dockerfile 247 B

1234567891011
  1. FROM nginx:stable-alpine-perl
  2. RUN rm -f /etc/nginx/nginx.conf \
  3. && rm -f /etc/nginx/conf.d/default.conf
  4. COPY docker/nginx.k8s.conf /etc/nginx/nginx.conf
  5. EXPOSE 80
  6. COPY ./dist /usr/share/nginx/html
  7. ENTRYPOINT ["nginx", "-g", "daemon off;"]