Skip to content

Commit 633317e

Browse files
committed
fix: use python entrypoint in Dockerfile
Avoid shell expansion issues with PORT in Railway by running main.py.
1 parent 5217153 commit 633317e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ COPY . .
2020
# Expose port (Railway will set $PORT)
2121
EXPOSE 8000
2222

23-
# Run the application
24-
CMD uvicorn main:app --host 0.0.0.0 --port ${PORT:-8000}
23+
# Run the application (Railway provides PORT)
24+
CMD ["python", "main.py"]

0 commit comments

Comments
 (0)