fix: correct startCommand in railway.json

master
Eric0801 2 months ago
parent 9c613cf4b7
commit ca66ea71af
  1. 2
      railway.json

@ -5,7 +5,7 @@
"dockerfilePath": "Dockerfile"
},
"deploy": {
"startCommand": "cd /flask && gunicorn -w 2 -b 0.0.0.0:8000 --timeout 120 main:app",
"startCommand": "gunicorn -w 2 -b 0.0.0.0:$PORT --timeout 120 --chdir /flask main:app",
"restartPolicyType": "ON_FAILURE",
"restartPolicyMaxRetries": 10
}

Loading…
Cancel
Save