From eed27e1dadfca5217749996545607cf95ebbe4dc Mon Sep 17 00:00:00 2001 From: streaper2 Date: Fri, 27 Feb 2026 10:20:46 +0100 Subject: [PATCH] correction du nixtpack --- nixpacks.toml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/nixpacks.toml b/nixpacks.toml index fcf69a4..88eb856 100644 --- a/nixpacks.toml +++ b/nixpacks.toml @@ -1,12 +1,15 @@ -# Indique à Nixpacks d'utiliser l'environnement Node.js -[providers] -node = "22" +# Indique à Nixpacks les langages à utiliser (doit être une liste) +providers = ["node"] + +# Définit la version de Node.js +[variables] +NIXPACKS_NODE_VERSION = "22" # Phase 1 : Installation des dépendances [phases.install] cmds = ["npm install"] -# Phase 2 : Compilation +# Phase 2 : Génération de Prisma puis Compilation [phases.build] cmds = [ "npx prisma generate",