fix: switch to Railpack with proper pnpm and yarn configuration

This commit is contained in:
Justin Edmund 2025-11-23 03:39:23 -08:00
parent e7c652460e
commit 79a439c634
3 changed files with 7 additions and 18 deletions

View file

@ -1,11 +0,0 @@
[phases.setup]
nixPkgs = ["nodejs_20", "yarn"]
[phases.install]
cmds = ["pnpm i --frozen-lockfile"]
[phases.build]
cmds = ["./scripts/railway-build.sh"]
[start]
cmd = "pnpm run start"

7
railpack-plan.json Normal file
View file

@ -0,0 +1,7 @@
{
"packages": {
"node": "20",
"pnpm": "9",
"yarn": "1"
}
}

View file

@ -1,7 +0,0 @@
[build]
builder = "NIXPACKS"
[deploy]
startCommand = "pnpm run start"
restartPolicyType = "ON_FAILURE"
restartPolicyMaxRetries = 10