fix: 调整docke脚本
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user