By MihkelL
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!
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.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.