I can't deploy my FastAPI backend
ameuseme
HOBBYOP

2 years ago

Hi,

I keep getting an error message when I try to deploy my Python FastAPI backend application.

My backend is in my git repo, so I select deploy from GitHub. It seems to build as expected. After a minute or so it crashes and I get a deploy error. The error message I get is:

/bin/bash: line 1: web:: command not found

level:

"error"

deployment: 545b29e5-fecb-478e-b461-20496d53bb72

replica: 12867491-f74b-4ce5-9038-0df2b599d9d0

service: c4410e59-2f20-430f-8f6d-280ba1cf90fe

View in Context

I have a Procfile which contains the following:

web: uvicorn app.main:app --host 0.0.0.0 --$PORT

Any help to resolve will be apricated.

Thanks in advance

View Deploy details

ⓘ Deployment information is only viewable by project members and Railway employees.

1 Replies


Welcome!

Sign in to your Railway account to join the conversation.

Loading...