From 7303c92ae4746195759a6159fe9dfed12a49853e Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Mon, 24 Feb 2025 10:46:13 +0100 Subject: [PATCH] Create nixpacks.toml --- nextjs/ssr/nixpacks.toml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 nextjs/ssr/nixpacks.toml diff --git a/nextjs/ssr/nixpacks.toml b/nextjs/ssr/nixpacks.toml new file mode 100644 index 0000000..721457d --- /dev/null +++ b/nextjs/ssr/nixpacks.toml @@ -0,0 +1,12 @@ +[phases.setup] +nixPkgs = ['bun'] +aptPkgs = ['build-essential'] + +[phases.install] +cmd = "bun install" + +[phases.build] +cmd = "bun run build" + +[phases.start] +cmd = "bun run start"