Railpack ignoring railway.json Dockerfile configuration after recent deployment
hovsepyan021
PROOP

2 months ago

After my last deployment, Railway started using Railpack instead of my configured Dockerfile, causing builds to fail.

Issue:

- My railway.json explicitly sets "builder": "DOCKERFILE"

- Previous deployments (until ~March 12, 2026) correctly used Dockerfile

- Current deployments ignore this and use Railpack 0.18.0

- Railpack fails because it detects the root package.json (which lacks a "start" script) instead of using the Dockerfile

Error message:

Region: europe-west4]

INFO No package manager inferred, using npm default

╭─────────────────╮

│ Railpack 0.18.0 │

╰─────────────────╯

No start command was found

Previous successful build log showed:

=========================

Using Detected Dockerfile

=========================

Environment:

- Region: europe-west4

- Metal Build Environment: Enabled

- railway.json present with builder: "DOCKERFILE"

- No changes to railway.json, Dockerfile, or package.json files in recent commits

What I've tried:

- Verified railway.json configuration is correct

- Confirmed Dockerfile exists and is valid (worked in previous deployments)

- No relevant code changes that would affect build detection

Suspected cause:

Possible regression with Metal build environment or recent Railway platform updates ignoring railway.json configuration.

Solved

9 Replies

Anonymous
HOBBY

2 months ago

This is happening to me as well.


emilmilow
PRO

2 months ago

+1 it is unacceptable that deployments just stop working


2 months ago

Heya, we're looking into this!


Status changed to Awaiting User Response Railway 2 months ago


niklasdah
PRO

2 months ago

Same here.


Status changed to Awaiting Railway Response Railway 2 months ago


sergeychampagne
PRO

2 months ago

Same here...


omarhosamcodes
PRO

2 months ago

Same Here


2 months ago

We're tracking this incident here: https://status.railway.com/cmmn957fk00a512dzsoks6v40

Our team has found a fix, which we'll apply shortly.


Status changed to Awaiting User Response Railway 2 months ago


2 months ago

This should now be fixed!


Status changed to Solved nico 2 months ago


hovsepyan021
PROOP

2 months ago

Yes now it works.


Status changed to Awaiting Railway Response Railway 2 months ago


Status changed to Solved hovsepyan021 2 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...