FROM nginx RUN rm -rf /usr/share/nginx/html/* COPY web /usr/share/nginx/html/ RUN chmod -R 777 /usr/share/nginx/html EXPOSE 81 CMD ["nginx", "-g", "daemon off;"]