瀏覽代碼

编译上传

ccf 4 年之前
父節點
當前提交
0bd613e3e3
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      shell/container-up.sh

+ 1 - 2
shell/container-up.sh

@@ -79,8 +79,7 @@ service nginx start
 cd /proginn-frontend
 chown -R www-data:www-data .
 su -c "cd /workspace/kaifain/client && npx yarn --registry=https://registry.npm.taobao.org install && pm2 start ecosystem.config.yml" -s /bin/bash - www-data
-su -c "cd /proginn-frontend && rm -rf node_modules && npx yarn --registry=https://registry.npm.taobao.org install && npm run build_dev" -s /bin/bash - www-data
-su -c "cd /proginn-frontend && pm2 start npm --name proginn-frontend -- run start_dev" -s /bin/bash - www-data
+su -c "cd /proginn-frontend && pm2 start ecosystem.config.yml" -s /bin/bash - www-data
 
 # 启动定时脚本
 service cron restart