Can't disable automatic detection of Dockerfile

marcogravbrot
TRIALOP

a year ago

There is no way to turn off the automatic detection of Dockerfile. Setting custom build command to "npm run build" also does not prevent Railway from using in my example an old Dockerfile. This forces me to delete it from the repo, which is unwanted.

Solved

2 Replies

a year ago

Dockerfile and nixpacks are mutually exclusive, you can't have a Dockerfile in your repo while also using Nixpacks, you'd need to remove the Dockerfile if you want to build with Nixpacks


a year ago

^ Remove or rename.


Status changed to Solved brody about 1 year ago


Loading...