fix: 调整docke脚本

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

No files matched your search

+13 -3
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