update docker build script

This commit is contained in:
simonzhangsz committed 2024-12-06 15:13:49 +08:00
1 parent 62f82f2224
commit 7c42e46432
8 files changed
+85 -12

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
@echo off
REM Change to the fe.wfc directory and update the repository
cd /d ..\..\fe.wfc
git pull
call pnpm install
call pnpm build
REM Change to the fe.wfc.user directory and update the repository
cd /d ..\fe.wfc.user
git pull
call pnpm install
call pnpm build
REM Change to the be.wfc/docker directory and run the copy script
cd /d ..\be.wfc\docker
call copy.bat
REM Stop, remove, and deploy the Docker container for wfc-nginx
docker stop wfc-nginx
docker rm wfc-nginx
call deploy.bat frontend