fix nixpacks
This commit is contained in:
@@ -1,17 +1,11 @@
|
||||
# nixpacks.toml
|
||||
[phases.setup]
|
||||
nixPkgs = ["nodejs", "npm"]
|
||||
|
||||
[phases.install]
|
||||
cmds = ["npm install"]
|
||||
|
||||
[phases.build]
|
||||
# Indique à Nixpacks d'installer les dépendances et de builder Next.js
|
||||
cmds = [
|
||||
"npm install",
|
||||
"npm run build"
|
||||
]
|
||||
cmds = ["npm run build"]
|
||||
|
||||
[phases.start]
|
||||
# Commande de démarrage en production
|
||||
[start]
|
||||
cmd = "npm run start"
|
||||
|
||||
[variables]
|
||||
# Port par défaut attendu par Coolify
|
||||
PORT = "3000"
|
||||
NODE_ENV = "production"
|
||||
|
||||
Reference in New Issue
Block a user