2
0

fix: 调整docke脚本

This commit is contained in:
TsMask
2024-12-03 17:51:18 +08:00
parent 8da56d1d09
commit 64aec35014
7 changed files with 58 additions and 35 deletions

View File

@@ -1,12 +1,22 @@
#!/bin/sh
cd ../../fe.wfc/
#
cd /home/simon/wfc.git/fe.wfc
git pull
pnpm i
pnpm build
cd ../be.wfc/docker/
#
cd /home/simon/wfc.git/fe.wfc.user
git pull
pnpm i
pnpm build
#
cd /home/simon/wfc.git/be.wfc/docker
./copy.sh
sudo docker stop wfc-nginx
sudo docker rm wfc-nginx
sudo docker rmi nginx
sudo docker rmi wfc-nginx
sudo ./deploy.sh frontend