Browse Source

init(初始化): 🎉

pull/7/head
Jiale 2 months ago
parent
commit
529e5475ca
  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
# 拷贝 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
CMD ["nginx", "-g", "daemon off;"]

Loading…
Cancel
Save