init(初始化): 🎉 #7

Merged
root merged 1 commits from cjl-dev into master 2 months ago
  1. 2
      scripts/Dockerfile

2
scripts/Dockerfile

@ -27,7 +27,7 @@ RUN echo "types { application/javascript js mjs; }" > /etc/nginx/conf.d/mjs.conf
COPY --from=builder /app/dist /usr/share/nginx/html COPY --from=builder /app/dist /usr/share/nginx/html
# 拷贝 nginx 配置 # 拷贝 nginx 配置
COPY --from=builder /app/scripts/deploy/nginx.conf /etc/nginx/nginx.conf COPY --from=builder /app/scripts/nginx.conf /etc/nginx/nginx.conf
EXPOSE 8080 EXPOSE 8080
CMD ["nginx", "-g", "daemon off;"] CMD ["nginx", "-g", "daemon off;"]

Loading…
Cancel
Save