Quick Fix Options: Option 1: Tell Railway What To Build (Easiest) Add a railway.json file to your root directory
liverichtravel
PROOP

10 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

$10 Bounty

3 Replies

Railway
BOT

10 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!


liverichtravel
PROOP

10 months ago

It failed again


chandrika
EMPLOYEE

10 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 10 months ago


10 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.


Welcome!

Sign in to your Railway account to join the conversation.

Loading...