From 708c7857a771afb3a810722242d80411e0a92bb9 Mon Sep 17 00:00:00 2001 From: streaper2 Date: Fri, 27 Feb 2026 10:18:40 +0100 Subject: [PATCH] correction deployment nixtpack --- nixpacks.toml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 nixpacks.toml diff --git a/nixpacks.toml b/nixpacks.toml new file mode 100644 index 0000000..fcf69a4 --- /dev/null +++ b/nixpacks.toml @@ -0,0 +1,14 @@ +# Indique à Nixpacks d'utiliser l'environnement Node.js +[providers] +node = "22" + +# Phase 1 : Installation des dépendances +[phases.install] +cmds = ["npm install"] + +# Phase 2 : Compilation +[phases.build] +cmds = [ + "npx prisma generate", + "npm run build" +] \ No newline at end of file