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