We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5217153 commit 633317eCopy full SHA for 633317e
1 file changed
Dockerfile
@@ -20,5 +20,5 @@ COPY . .
20
# Expose port (Railway will set $PORT)
21
EXPOSE 8000
22
23
-# Run the application
24
-CMD uvicorn main:app --host 0.0.0.0 --port ${PORT:-8000}
+# Run the application (Railway provides PORT)
+CMD ["python", "main.py"]
0 commit comments