FROM nginx:latest RUN mkdir -p /zlpt-front WORKDIR /zlpt-front COPY zrpt_front-sit/assets /zlpt-front/assets COPY zrpt_front-sit/favicon.ico /zlpt-front/favicon.ico COPY zrpt_front-sit/index.html /zlpt-front/index.html RUN rm /usr/share/nginx/html/* RUN cp -r /zlpt-front/* /usr/share/nginx/html/ EXPOSE 80 CMD ["nginx", "-g", "daemon off;"]