Improve application startup process and fix potential database issues

Refactors Dockerfile and entrypoint script for enhanced reliability, debugging, and single database migration.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: dec54137-d5a2-4406-8ad4-5f2f9fb110bf
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/0715008c-7244-40f4-befc-26c014852236/5d315300-98fa-429a-abb0-4fdce6a2e3c9.jpg
This commit is contained in:
michaelschal committed 2025-07-13 12:02:30 +00:00
1 parent 037e7e2e49
commit 39cc269d29
4 files changed
+152 -17

No files matched your search

+1 -7
View File
@@ -82,10 +82,4 @@ HEALTHCHECK --interval=30s --timeout=10s --start-period=60s --retries=3 \
# Point d'entrée avec script de démarrage
ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]
CMD ["node", "dist/index.js"]
# Utiliser dumb-init pour gérer les signaux
ENTRYPOINT ["dumb-init", "--"]
# Démarrer avec le script d'entrée
CMD ["docker-entrypoint.sh"]
CMD ["node", "dist/index.js"]