Override builder
I have a django project and in the root directory there is a Dockerfile. However, I have configured nixpacks.toml, Procfile, and railway.toml but whenever I make a deploy, it's building based on Dockerfile.
5 Replies
Project ID:
0051ad97-5725-485d-88b6-9383afb618e1
You might find these helpful:
- Railway stopped picking up Dockerfile during build
- Configuration from railway.toml not being updated
- Django Docker build/deploy failing
⚠️ experimental feature
Project ID: 0051ad97-5725-485d-88b6-9383afb618e1
Dockerfile will always be preferred if the file
Dockerfile
exists, but you can rename it to something like Dockerfile.dev
and it won't be usedThanks, let me try that