correction deployment nixtpack
This commit is contained in:
14
nixpacks.toml
Normal file
14
nixpacks.toml
Normal file
@@ -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"
|
||||||
|
]
|
||||||
Reference in New Issue
Block a user