Browse Source

fix: add Node.js 20 to web service

Railway build — nixpacks needs explicit Node setup

Made-with: Cursor
pull/6453/head
Priyanka Punukollu 1 month ago
parent
commit
4acac31ad6
  1. 1
      .node-version
  2. 3
      railway.toml

1
.node-version

@ -0,0 +1 @@
20

3
railway.toml

@ -1,6 +1,9 @@
[build] [build]
builder = "nixpacks" builder = "nixpacks"
[build.nixpacksPlan.phases.setup]
nixPkgs = ["nodejs_20", "npm-9_x"]
[deploy] [deploy]
startCommand = "node dist/apps/api/main.js" startCommand = "node dist/apps/api/main.js"
healthcheckPath = "/api/v1/health" healthcheckPath = "/api/v1/health"

Loading…
Cancel
Save