chore(docker): .dockerignore angepasst; lokale Build-Schritte in Rebuild-Skripten; Doku/README zu production vs production-prebuilt aktualisiert

This commit is contained in:
2025-10-06 18:59:17 +02:00
parent 7a84130aec
commit 1124b1f40b
24 changed files with 1149 additions and 270 deletions

View File

@@ -1,6 +1,29 @@
@echo off
docker compose -f docker-compose.yml down
if errorlevel 1 exit /b 1
git pull
if errorlevel 1 exit /b 1
echo Building application locally...
pnpm install --frozen-lockfile
if errorlevel 1 exit /b 1
pnpm run build
if errorlevel 1 exit /b 1
docker compose -f docker-compose.yml build
if errorlevel 1 exit /b 1
docker compose -f docker-compose.yml up -d
if errorlevel 1 exit /b 1
echo Waiting for container to start...
@timeout /t 5 /nobreak >nul
echo Verifying bcrypt installation in container...
docker compose -f docker-compose.yml exec stargirlnails node -e "require('bcrypt')" && echo bcrypt OK || echo bcrypt FAILED
if errorlevel 1 exit /b 1
docker compose -f docker-compose.yml logs -f stargirlnails