From fa5b5ebcf72682940677b5ea301b19c6b1c52b5a Mon Sep 17 00:00:00 2001 From: Michael Kinder Date: Mon, 29 Jun 2026 21:05:48 -0400 Subject: [PATCH] remove nixpacks and add railpack --- nixpacks.toml | 9 --------- railpack.json | 23 +++++++++++++++++++++++ 2 files changed, 23 insertions(+), 9 deletions(-) delete mode 100644 nixpacks.toml create mode 100644 railpack.json diff --git a/nixpacks.toml b/nixpacks.toml deleted file mode 100644 index 4ec6304..0000000 --- a/nixpacks.toml +++ /dev/null @@ -1,9 +0,0 @@ -# nixpacks.toml - -# 1. Define the build phase to compile your Astro static files -[phases.build] -cmds = ["npm run build"] - -# 2. Tell Nixpacks how to run the web server and keep the container alive -[start] -cmd = "npx serve dist --port 3000" diff --git a/railpack.json b/railpack.json new file mode 100644 index 0000000..40772ef --- /dev/null +++ b/railpack.json @@ -0,0 +1,23 @@ +{ + "$schema": "https://schema.railpack.com", + "steps": { + "install": { + "commands": [ + "npm install" + ] + }, + "build": { + "inputs": [ + { + "step": "install" + } + ], + "commands": [ + "npm run build" + ] + } + }, + "deploy": { + "startCommand": "npx serve dist --port 3000" + } +} \ No newline at end of file