2
0

update docker build script

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

22
docker/start-frontend.bat Normal file
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