修改dev打包配置

This commit is contained in:
孙小云 2026-03-26 13:47:36 +08:00
parent 8eeb2f79da
commit 95aca4506c
1 changed files with 3 additions and 3 deletions

View File

@ -75,7 +75,7 @@ infrastructure:
- name: wvp-web
docker_service: wvp-web
pre_deploy_commands:
- cd wvpweb && npm install && npm run build:prod
- cd wvpweb && npm install && npm run build:dev
- cp -r wvpweb/dist docker/wvp/web/html/dist
wait_time: 10 # Nginx 启动较快
@ -110,7 +110,7 @@ repositories:
type: nodejs
build_commands:
- npm install
- npm run build:prod
- npm run build:dev
artifact_path: dist
docker_path: docker/nginx/html/dist
docker_service: ruoyi-nginx
@ -276,7 +276,7 @@ repositories:
type: nodejs
build_commands:
- npm install
- npm run build:prod
- npm run build:dev
artifact_path: dist
docker_path: docker/wvp/web/html/dist
docker_service: wvp-web