configure nixpacks

This commit is contained in:
Mamadou Sall
2025-08-24 23:05:29 +02:00
parent f7bfb2e0dc
commit d88876f28b

17
nixpacks.toml Normal file
View File

@@ -0,0 +1,17 @@
# nixpacks.toml
[phases.build]
# Indique à Nixpacks d'installer les dépendances et de builder Next.js
cmds = [
"npm install",
"npm run build"
]
[phases.start]
# Commande de démarrage en production
cmd = "npm run start"
[variables]
# Port par défaut attendu par Coolify
PORT = "3000"
NODE_ENV = "production"