逻辑编排前端
FROM nginx:1.20.0 # 声明端口 EXPOSE 8080 #添加前端程序 ADD ./assets /web/dist #赋权限 RUN chown -R nginx.nginx /web/dist #设置nginx.conf RUN mkdir /etc/nginx/templates/ COPY ./default.conf /etc/nginx/templates/default.conf.template