fix: disable engine-strict and add nixpacks config for Railway
This commit is contained in:
parent
28f20de66a
commit
aadb00dce7
2 changed files with 17 additions and 1 deletions
3
.npmrc
3
.npmrc
|
|
@ -1 +1,2 @@
|
||||||
engine-strict=true
|
# Temporarily disabled for Railway build debugging
|
||||||
|
# engine-strict=true
|
||||||
|
|
|
||||||
15
nixpacks.toml
Normal file
15
nixpacks.toml
Normal 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"
|
||||||
Loading…
Reference in a new issue