Skip to content

Commit 697f32c

Browse files
fix: Update Railway deployment to use full server
1 parent dfefee6 commit 697f32c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ RUN rm -rf src/ scripts/ test/ tests/ __tests__ *.test.* *.spec.* node_modules/.
3131
EXPOSE 3000
3232

3333
# Start the application
34-
CMD ["node", "dist/servers/railway/storage-test.js"]
34+
CMD ["npm", "start"]

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"persistence"
4242
],
4343
"scripts": {
44-
"start": "node dist/servers/railway/minimal.js",
44+
"start": "node dist/servers/railway/index.js",
4545
"start:minimal": "node dist/servers/railway/minimal.js",
4646
"start:full": "node dist/servers/railway/index.js",
4747
"setup": "npm install && npm run build && npm run init",

railway.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
]
1010
},
1111
"deploy": {
12-
"startCommand": "node dist/servers/railway/storage-test.js",
12+
"startCommand": "npm start",
1313
"restartPolicyType": "ON_FAILURE",
1414
"restartPolicyMaxRetries": 3,
1515
"healthcheckPath": "/health",

0 commit comments

Comments
 (0)