Skip to content

Commit 5217153

Browse files
committed
fix: run app entrypoint on Railway
Use python main.py for Railway deploys so PORT is read by app code.
1 parent 22169ef commit 5217153

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

railway.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[deploy]
2-
startCommand = "uvicorn main:app --host 0.0.0.0 --port $PORT"
2+
startCommand = "python main.py"
33

44
# Persistent storage for user tokens and sessions
55
[[deploy.volumes]]

0 commit comments

Comments
 (0)