Replies: 1 comment
-
Never mind, 'docker builder prune -a' did the trick - closing the discussion. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I have created a configuration to (based on https://www.serverless.com/framework/docs/providers/aws/guide/serverless.yml#docker-image-deployments-in-ecr as a reference) build and deploy a docker image to ECR.
The initial build goes fine, but whenever I change my actual code (which then should be added to the image) the changes are ignore as the docker layers are "cached" and my changes will never be deployed. I have tried
docker system prune
, but haven't managed to get it work.What would be the best way to either:
It doesn't need to be pretty nor automatically through serverless.yaml - even a manual way to clear cache would work right now.
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions