Dockerfile-admin 208 B

1234567
  1. FROM nginx
  2. WORKDIR /usr/share/nginx/html/
  3. RUN mkdir -p /usr/share/nginx/html/
  4. RUN ls -ls
  5. COPY ./html /usr/share/nginx/html/
  6. COPY ./nginx.conf /etc/nginx/conf.d/default.conf
  7. CMD ["nginx", "-g", "daemon off;"]