Fix jwt-token
This commit is contained in:
38
test-docker-builds.bat
Normal file
38
test-docker-builds.bat
Normal file
@@ -0,0 +1,38 @@
|
||||
@echo off
|
||||
setlocal
|
||||
|
||||
echo 🐳 Testing Docker Builds
|
||||
echo =======================
|
||||
|
||||
echo [INFO] Building backend container...
|
||||
docker build -t drone-backend ./server
|
||||
if %errorlevel% neq 0 (
|
||||
echo [ERROR] Backend build failed
|
||||
exit /b 1
|
||||
)
|
||||
echo [SUCCESS] Backend build completed
|
||||
|
||||
echo [INFO] Building frontend container...
|
||||
docker build -t drone-frontend ./client
|
||||
if %errorlevel% neq 0 (
|
||||
echo [ERROR] Frontend build failed
|
||||
exit /b 1
|
||||
)
|
||||
echo [SUCCESS] Frontend build completed
|
||||
|
||||
echo [INFO] Building simulator container...
|
||||
docker build -f docker/simulator/Dockerfile -t drone-simulator .
|
||||
if %errorlevel% neq 0 (
|
||||
echo [ERROR] Simulator build failed
|
||||
exit /b 1
|
||||
)
|
||||
echo [SUCCESS] Simulator build completed
|
||||
|
||||
echo [SUCCESS] All builds completed successfully!
|
||||
echo.
|
||||
echo You can now run:
|
||||
echo docker-compose up -d
|
||||
echo or
|
||||
echo docker-compose -f docker-compose.simple.yml up -d
|
||||
|
||||
pause
|
||||
Reference in New Issue
Block a user