We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6fe711a commit 6647ae0Copy full SHA for 6647ae0
2 files changed
Dockerfile
@@ -27,8 +27,8 @@ RUN npm run build
27
# Clean up build dependencies and unnecessary files
28
RUN rm -rf src/ scripts/ test/ tests/ __tests__ *.test.* *.spec.* node_modules/.cache
29
30
-# Expose port
+# Expose port (Railway uses PORT env var)
31
EXPOSE 3000
32
33
-# Start the application
34
-CMD ["npm", "start"]
+# Start the FULL server explicitly
+CMD ["node", "dist/servers/railway/index.js"]
railway.json
@@ -9,7 +9,6 @@
9
]
10
},
11
"deploy": {
12
- "startCommand": "npm start",
13
"restartPolicyType": "ON_FAILURE",
14
"restartPolicyMaxRetries": 3,
15
"healthcheckPath": "/health",
0 commit comments