How to ignore dockerfile for builder?
diptosarkar182
TRIALOP

a year 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

dev
MODERATOR

a year 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

a year ago

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


dev
MODERATOR

a year ago

Awesome! Happy I could help slightly_smiling_face emoji


Status changed to Solved dev about 1 year ago


Loading...