better building

This commit is contained in:
Mikan
2026-10-17 19:04:20 +04:00
parent fbff0edf77
commit 7009636535
4 changed files with 45 additions and 15 deletions

View File

@@ -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.