Disable caching with Dockerfile

2 years ago

How can I disable caching for a service where I am using Dockerfile for build.

4 Replies

2 years ago

For some reason railway is using cached docker file which points to the dev dockerfile not the prod one.

even after adding NIXPACKS_NO_CACHE=1 does not seems to resolve the issue.


2 years ago

nixpacks has nothing to do with building from dockerfiles


2 years ago

please see this docs section -


2 years ago

Thanks, this worked!


Welcome!

Sign in to your Railway account to join the conversation.

Loading...