tj
fastapi crash on deploy, univorn start command works locally
Hi team, using railway for the first time,
build command is empty,
build logs:
Using subdirectory "app"
...
[succeeds]
start command: uvicorn app.server.api:app --host=0.0.0.0
(my dir structure is: /app/server/api.py, which has app = FastAPI()
app crashes on error:
ModuleNotFoundError: No module named 'app'
67 replies