Improve application startup reliability and database migration handling

Simplifies the Dockerfile, adds robust migration error handling, and ensures application startup.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 4b008663-bd72-492b-b0b6-fa252367e730
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/0715008c-7244-40f4-befc-26c014852236/4b008663-bd72-492b-b0b6-fa252367e730/MSYevTt
This commit is contained in:
michaelschal committed 2025-07-19 14:24:09 +00:00
1 parent 2dd29e1602
commit f7972c66da
6 files changed
+114 -13

No files matched your search

+2 -2
View File
@@ -9,8 +9,8 @@ echo "🧹 Cleaning up existing containers..."
docker-compose down -v 2>/dev/null || true
docker system prune -f >/dev/null 2>&1 || true
# Test de build avec la nouvelle approche
echo "🔨 Building fresh Docker image (alternative approach)..."
# Test de build avec l'approche simplifiée (skip migrations)
echo "🔨 Building fresh Docker image (simple approach - skip migrations)..."
if docker-compose build --no-cache regisflow; then
echo "✅ Build successful"
else