a year ago
I puuled from github:
main.py
requirements.txt
.env
Procfile
The Procfile has the single line:
web: gunicorn main:app
I already tried:
uvicorn main:app --host 0.0.0.0 --port 8000
and also
web: uvicorn main:app --host 0.0.0.0 --port $PORT
All seems to work fine during deploy and it seems to be succesful, but, it stops within a few seconds with the following error:
/bin/bash: line 1: gunicorn: command not found
What could that be?
ⓘ Deployment information is only viewable by project members and Railway employees.
1 Replies
a year ago
Hello,
While the linked service has been deleted, it looks like the new service in that project is online and responding to requests.
So I will mark this as solved, feel free to re-open if you have anymore questions!
Status changed to Solved brody • about 1 year ago