diff --git a/.beagle.yml b/.beagle.yml index 030c8fae03ab289783166e0a1a83ac075a63403a..acc4ad95e46fdc2844f26cc15c41ecf2567302d7 100644 --- a/.beagle.yml +++ b/.beagle.yml @@ -20,24 +20,24 @@ steps: # 定义流水线执行步骤,这些步骤将顺序执行 image: registry.cn-qingdao.aliyuncs.com/wod/devops-git:1.0 network_mode: host - # - name: s3-cache - # image: registry.cn-qingdao.aliyuncs.com/wod/devops-s3-cache:1.0 - # network_mode: host - # settings: - # restore: true - # mount: - # - ./node_modules - # endpoint: http://cache.wodcloud.com - # access_key: - # from_secret: ACCESS_KEY_MINIO - # secret_key: - # from_secret: SECRET_KEY_MINIO + - name: s3-cache + image: registry.cn-qingdao.aliyuncs.com/wod/devops-s3-cache:1.0 + network_mode: host + settings: + restore: true + mount: + - ./node_modules + endpoint: http://cache.wodcloud.com + access_key: + from_secret: ACCESS_KEY_MINIO + secret_key: + from_secret: SECRET_KEY_MINIO - name: build # 项目打包 image: registry.cn-qingdao.aliyuncs.com/wod/devops-node:16.16.0-slim # 将宿主机中文件夹挂载到容器中,宿主机文件夹中的文件会被容器访问并修改,起到使用缓存的作用,避免每次运行都要重现下载依赖,提高运行速度 commands: - - yarn + # - yarn - export NODE_ENV=production - yarn build diff --git a/vite.config.js b/vite.config.js index a43b3c52bb3e2d9d96947450d12964561ee0e0e9..0daefe5eb3ab9965e209b95c01c9a75aa0e31108 100644 --- a/vite.config.js +++ b/vite.config.js @@ -39,7 +39,7 @@ export default { } }, build:{ - outDir:'dist/apaas/system/ui',//打包输出文件夹 + outDir:'dist/apaas/manage/ui',//打包输出文件夹 assetsDir:'static',//打包输出静态文件 },