Skip to content

Commit d5d5a2a

Browse files
committed
fix: use pnpm not npx for start command
1 parent db01ef6 commit d5d5a2a

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

railway.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
{
22
"$schema": "https://railway.com/railway.schema.json",
33
"build": {
4-
"builder": "NIXPACKS",
5-
"buildCommand": "pnpm install --frozen-lockfile && pnpm build"
4+
"builder": "NIXPACKS"
65
},
76
"deploy": {
8-
"startCommand": "sh -c 'npx next start -H 0.0.0.0 -p ${PORT:-3000}'",
7+
"startCommand": "sh -c 'pnpm start -- -H 0.0.0.0 -p ${PORT:-3000}'",
98
"restartPolicyType": "ON_FAILURE",
109
"restartPolicyMaxRetries": 10
1110
}

0 commit comments

Comments
 (0)