Le script docker/entrypoint.sh : - Attend PostgreSQL (netcat sur host:port extrait de DATABASE_URL) - Cree le dossier /app/data si SQLite - Applique les migrations via prisma migrate deploy - Execute le seed si RUN_SEED=true (non bloquant) - Demarre server.js (mode standalone Next) Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2.0 KiB
Executable File
2.0 KiB
Executable File