dokploy maj
Some checks failed
Build and Push App / build (push) Has been cancelled

This commit is contained in:
2026-04-19 22:01:35 +02:00
parent f97399e4fd
commit 3958f84e03
5 changed files with 25 additions and 4 deletions

6
admin/nixpacks.toml Normal file
View File

@@ -0,0 +1,6 @@
[phases.build]
cmds = ["npm install", "npx prisma generate", "npm run build"]
[phases.start]
# Exécute prisma db push avant de lancer l'application pour synchroniser le schéma
cmds = ["npx prisma db push --accept-data-loss", "npm start"]