Improve deployment reliability by streamlining the application startup process

Updates the Dockerfile and entrypoint to remove Node.js 18 compatibility workaround and fixes cache corruption issues.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: e80fed01-7137-4997-b9af-dad57132d430
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/0715008c-7244-40f4-befc-26c014852236/db75d429-4075-4348-b179-bb283fb6d9d3.jpg
This commit is contained in:
michaelschal committed 2025-07-13 13:26:16 +00:00
1 parent 0994a3282a
commit 5048b3b466
4 files changed
+10 -13

No files matched your search

Executable → Regular
+2 -2
View File
@@ -51,9 +51,9 @@ fi
echo "✅ Base de données configurée"
# Démarrer l'application avec le script de polyfill Node.js 18
# Démarrer l'application
echo "🎯 Démarrage de RegisFlow..."
export NODE_ENV=production
export PORT=5000
cd /app
exec node server/prod-start.js
exec node dist/index.js