6 months ago
I am trying to deploy a rails app. During build, it is always using the dockerfile and I cannot change that even if I set a custom build command. The builder is always set to Docker file and cannot be edited.
3 Replies
6 months ago
Having a Dockerfile in the project root and using Nixpacks is mutually exclusive so the only way to make Railway not use your Dockerfile and use Nixpacks instead is by either removing or renaming the Dockerfile, unfortunately there's no other way to make Railway ignore it
dev
Having a Dockerfile in the project root and using Nixpacks is mutually exclusive so the only way to make Railway not use your Dockerfile and use Nixpacks instead is by either removing or renaming the Dockerfile, unfortunately there's no other way to make Railway ignore it
6 months ago
Thanks for the solve. Renamed the docker file and now builder is using nixpacks.
Status changed to Solved dev • 6 months ago