configure nixpacks
This commit is contained in:
17
nixpacks.toml
Normal file
17
nixpacks.toml
Normal 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"
|
||||
Reference in New Issue
Block a user