Skip to content

Commit 42d54d8

Browse files
authored
feat: add railway.json to use node server.js as start command
Signed-off-by: rigoryanych <rigoryanych1397@gmail.com>
1 parent 54f1b92 commit 42d54d8

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

railway.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"$schema": "https://railway.app/railway.schema.json",
3+
"build": {
4+
"builder": "NIXPACKS"
5+
},
6+
"deploy": {
7+
"startCommand": "node server.js",
8+
"restartPolicyType": "ON_FAILURE",
9+
"restartPolicyMaxRetries": 10
10+
}
11+
}

0 commit comments

Comments
 (0)