Dockerfile 208 B

12345678910111213
  1. FROM nginx
  2. COPY dist /usr/share/nginx/html/
  3. RUN rm /etc/nginx/conf.d/default.conf
  4. ADD default.conf /etc/nginx/conf.d/
  5. WORKDIR /usr/share/nginx/html
  6. RUN chmod -R a+rx *
  7. RUN /bin/bash -c 'echo init ok'