Simplify application startup and improve deployment process

Refactors Docker setup to build the app, removes tsx, and streamlines entrypoint.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 91318273-c764-4fd4-be04-bdc12c38af32
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/0715008c-7244-40f4-befc-26c014852236/6e755801-08e8-4492-805e-ac3610de5a2a.jpg
This commit is contained in:
michaelschal committed 2025-07-09 21:12:07 +00:00
1 parent a4c5301d74
commit 0252abc41c
4 files changed
+13 -8

No files matched your search

+2 -2
View File
@@ -40,5 +40,5 @@ ENV PORT=5000
# Utiliser dumb-init pour gérer les signaux
ENTRYPOINT ["dumb-init", "--"]
# Démarrer l'application avec tsx pour éviter les problèmes de build
CMD ["docker-entrypoint.sh", "npx", "tsx", "server/index.ts"]
# Démarrer avec le script d'entrée
CMD ["docker-entrypoint.sh"]