7 months ago
Quick Fix Options:
Option 1: Tell Railway What To Build (Easiest)
Add a railway.json file to your root directory:
{
"build": {
"builder": "nixpacks"
},
"deploy": {
"startCommand": "cd backend && python -m uvicorn server:app --host 0.0.0.0 --port $PORT"
}
}Attachments
3 Replies
7 months ago
Hey there! We've found the following might help you get unblocked faster:
If you find the answer from one of these, please let us know by solving the thread!
7 months ago
It failed again
7 months ago
This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.
Status changed to Open chandrika • 7 months ago
7 months ago
Hey, judging by the screenshot you are trying to deploy two services using an isolated monorepo. Try deploying a service with the root directory set to /frontend and another service with the root directory set to /backend.