fix: use fixed port 8000 instead of $PORT variable

master
Eric0801 2 months ago
parent ca66ea71af
commit 0eabfaa906
  1. 2
      railway.json

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

Loading…
Cancel
Save