Report this

What is the reason for this report?

How to turn off docker caching?

Posted on March 3, 2021

How to turn off docker caching in App Platform? I have a problem with deploying static site, and it feel like it’s not using my updated Dockerfile.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

You can push your docker image as a new tag and then update the app-spec.yaml via doctl making sure to change the tag in the spec with the new tag of your docker image.

👋🏼 @MihkelL

Unfortunately it isn’t possible to disable caching. We are considering adding some form of control over that, but it’s not available yet.

You can manually invalidate the cache by renaming the component, but I’d also like to understand why it is not using the updated Dockerfile. Would you mind opening a support ticket so that can we look into this more closely? Any more details about what’s missing from the build would be appreciated.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.