fix: disable engine-strict and add nixpacks config for Railway

This commit is contained in:
Justin Edmund 2025-11-23 03:30:05 -08:00
parent 28f20de66a
commit aadb00dce7
2 changed files with 17 additions and 1 deletions

3
.npmrc
View file

@ -1 +1,2 @@
engine-strict=true # Temporarily disabled for Railway build debugging
# engine-strict=true

15
nixpacks.toml Normal file
View file

@ -0,0 +1,15 @@
[phases.setup]
nixPkgs = ["nodejs_20"]
[phases.install]
cmds = [
"corepack enable",
"corepack prepare pnpm@9.15.9 --activate",
"pnpm install --frozen-lockfile"
]
[phases.build]
cmds = ["./scripts/railway-build.sh"]
[start]
cmd = "pnpm run start"