How to ignore dockerfile for builder?
diptosarkar182
TRIALOP

2 years 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.

Solved

3 Replies

2 years 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

diptosarkar182
TRIALOP

2 years ago

Thanks for the solve. Renamed the docker file and now builder is using nixpacks.


2 years ago

Awesome! Happy I could help 🙂


Status changed to Solved dev over 1 year ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...