Update nixpacks.toml
This commit is contained in:
parent
6f6bea7aab
commit
562680264b
1 changed files with 8 additions and 2 deletions
|
@ -1,17 +1,23 @@
|
||||||
|
# nixpacks.toml
|
||||||
[phases.setup]
|
[phases.setup]
|
||||||
|
# Ensure required dependencies are installed
|
||||||
commands = [
|
commands = [
|
||||||
|
"apt-get update && apt-get install -y unzip curl",
|
||||||
"curl -fsSL https://bun.sh/install | bash",
|
"curl -fsSL https://bun.sh/install | bash",
|
||||||
"export PATH=$HOME/.bun/bin:$PATH"
|
"export PATH=$HOME/.bun/bin:$PATH",
|
||||||
|
"bun install"
|
||||||
]
|
]
|
||||||
|
|
||||||
[phases.build]
|
[phases.build]
|
||||||
|
# Install dependencies and build the application using Bun
|
||||||
commands = [
|
commands = [
|
||||||
"bun install",
|
|
||||||
"bun build"
|
"bun build"
|
||||||
]
|
]
|
||||||
|
|
||||||
[phases.start]
|
[phases.start]
|
||||||
|
# Start the application using Bun
|
||||||
commands = ["bun start"]
|
commands = ["bun start"]
|
||||||
|
|
||||||
[environment]
|
[environment]
|
||||||
|
# Ensure Bun is available in the runtime
|
||||||
PATH = "$HOME/.bun/bin:$PATH"
|
PATH = "$HOME/.bun/bin:$PATH"
|
||||||
|
|
Loading…
Reference in a new issue