mirror of
https://github.com/p-stream/backend.git
synced 2026-03-11 17:55:35 +00:00
Created nixpacks.toml for our fellow coolify users (me)
This commit is contained in:
parent
2d44ab8f73
commit
56e07431cb
1 changed files with 18 additions and 0 deletions
18
nixpacks.toml
Normal file
18
nixpacks.toml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
[phases.setup]
|
||||
commands = [
|
||||
"npx prisma generate",
|
||||
"npx prisma migrate deploy"
|
||||
]
|
||||
|
||||
[phases.install]
|
||||
commands = [
|
||||
"npm install"
|
||||
]
|
||||
|
||||
[phases.build]
|
||||
commands = [
|
||||
"npm run build"
|
||||
]
|
||||
|
||||
[start]
|
||||
cmd = "node .output/server/index.mjs"
|
||||
Loading…
Reference in a new issue