update docker build script
This commit is contained in:
22
docker/start-frontend.bat
Normal file
22
docker/start-frontend.bat
Normal 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
|
||||
Reference in New Issue
Block a user