From 562680264b52a7087e0ca1887abe294b07d336a4 Mon Sep 17 00:00:00 2001 From: chark1es Date: Thu, 23 Jan 2025 14:45:53 -0800 Subject: [PATCH] Update nixpacks.toml --- nixpacks.toml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/nixpacks.toml b/nixpacks.toml index 9480c5d..a94f79a 100644 --- a/nixpacks.toml +++ b/nixpacks.toml @@ -1,17 +1,23 @@ +# nixpacks.toml [phases.setup] +# Ensure required dependencies are installed commands = [ + "apt-get update && apt-get install -y unzip curl", "curl -fsSL https://bun.sh/install | bash", - "export PATH=$HOME/.bun/bin:$PATH" + "export PATH=$HOME/.bun/bin:$PATH", + "bun install" ] [phases.build] +# Install dependencies and build the application using Bun commands = [ - "bun install", "bun build" ] [phases.start] +# Start the application using Bun commands = ["bun start"] [environment] +# Ensure Bun is available in the runtime PATH = "$HOME/.bun/bin:$PATH"