Skip to content

Commit e110b7c

Browse files
authored
fix: add railway.toml with Nixpacks builder and --no-frozen-lockfile to fix pnpm build
Signed-off-by: Igor <romanchaa997@gmail.com>
1 parent 42d54d8 commit e110b7c

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

railway.toml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Railway deployment configuration for Audityzer
2+
# Monorepo: contracts/indexer/api/web (pnpm workspace)
3+
# Docs: https://docs.railway.app/reference/config-as-code
4+
5+
[build]
6+
builder = "NIXPACKS"
7+
buildCommand = "pnpm install --no-frozen-lockfile && pnpm run build"
8+
9+
[deploy]
10+
startCommand = "node dist/cli.js"
11+
healthcheckPath = "/health"
12+
healthcheckTimeout = 300
13+
restartPolicyType = "ON_FAILURE"
14+
restartPolicyMaxRetries = 10
15+
numReplicas = 1
16+
17+
[service]
18+
internalPort = 3000

0 commit comments

Comments
 (0)