From d88876f28bc09ac2bdc6c9c657bd240fbd67a755 Mon Sep 17 00:00:00 2001 From: Mamadou Sall Date: Sun, 24 Aug 2025 23:05:29 +0200 Subject: [PATCH] configure nixpacks --- nixpacks.toml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 nixpacks.toml diff --git a/nixpacks.toml b/nixpacks.toml new file mode 100644 index 0000000..6441467 --- /dev/null +++ b/nixpacks.toml @@ -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"