Can't disable automatic detection of Dockerfile

marcogravbrot
TRIAL

9 months 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

9 months 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


9 months ago

^ Remove or rename.


Status changed to Solved brody 9 months ago


Can't disable automatic detection of Dockerfile - Railway Help Station