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

a year 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

a year 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

a year ago

It failed again


chandrika
EMPLOYEE

a year 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 12 months ago


a year 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...