Is there a way to force a Nixpacks build even when a
Dockerfileexists?
2 years ago
I am trying to deploy an open-source project which has a Dockerfile at the root of the repository. Said Dockerfile uses the VOLUME keyword which then results in the following error:
The `VOLUME` keyword is banned in Dockerfiles. Use Railway volumes instead. https://docs.railway.app/reference/volumesIs there a way to tell Railway not to use the Dockerfile and proceed with a deployment using Nixpacks?
3 Replies
2 years ago
Railway will always use a Dockerfile if found, the only options I've come across where to remove or rename the Dockerfile
Reference
2 years ago
Confirmed with @jr that this isn't currently possible but he might pick it up soon! (Sharing for whoever ends up here with the same question)