Create nixpacks.toml
This commit is contained in:
parent
ac197a67c7
commit
6f6bea7aab
1 changed files with 17 additions and 0 deletions
17
nixpacks.toml
Normal file
17
nixpacks.toml
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
[phases.setup]
|
||||||
|
commands = [
|
||||||
|
"curl -fsSL https://bun.sh/install | bash",
|
||||||
|
"export PATH=$HOME/.bun/bin:$PATH"
|
||||||
|
]
|
||||||
|
|
||||||
|
[phases.build]
|
||||||
|
commands = [
|
||||||
|
"bun install",
|
||||||
|
"bun build"
|
||||||
|
]
|
||||||
|
|
||||||
|
[phases.start]
|
||||||
|
commands = ["bun start"]
|
||||||
|
|
||||||
|
[environment]
|
||||||
|
PATH = "$HOME/.bun/bin:$PATH"
|
Loading…
Reference in a new issue