better building
This commit is contained in:
@@ -14,8 +14,19 @@ echo Windows path: %WIN_DIR%
|
||||
echo WSL path: %WSL_DIR%
|
||||
echo.
|
||||
|
||||
echo Building images...
|
||||
wsl bash -c "cd '%WSL_DIR%' && sh build.sh"
|
||||
|
||||
if errorlevel 1 (
|
||||
echo.
|
||||
echo ERROR: Image build failed.
|
||||
pause
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
echo.
|
||||
echo Starting Docker services via WSL...
|
||||
wsl bash -c "cd '%WSL_DIR%' && docker compose up --build -d"
|
||||
wsl bash -c "cd '%WSL_DIR%' && docker compose up -d"
|
||||
|
||||
if errorlevel 1 (
|
||||
echo.
|
||||
|
||||
Reference in New Issue
Block a user