浏览代码

fix: patch last commit

Acathur 5 年之前
父节点
当前提交
fb7182945d
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      shell/container-up.sh

+ 3 - 3
shell/container-up.sh

@@ -78,10 +78,10 @@ service php7.2-fpm start
 service nginx start
 cd /proginn-frontend
 chown -R www-data:www-data .
-su -c "cd /proginn-frontend && rm -rf node_modules && npx yarn --registry=https://registry.npm.taobao.org install && npm run build" -s /bin/bash - www-data
-su -c "cd /proginn-frontend && pm2 start npm --name proginn-frontend -- run start" -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
 
 # 启动定时脚本
 service cron restart
 
-tail -f /dev/null
+tail -f /dev/null