Dockerfile 167 B

1234567891011
  1. FROM nginx
  2. RUN rm -rf /usr/share/nginx/html/*
  3. COPY web /usr/share/nginx/html/
  4. RUN chmod -R 777 /usr/share/nginx/html
  5. EXPOSE 81
  6. CMD ["nginx", "-g", "daemon off;"]