Docker tags should ideally be immutable. If you're just using docker run <image> rather than docker run <image>:<new tag>, then you're just running the previously pulled, locally cached latest tag. Running an image doesn't automatically pull the newest latest tag
Also, as commented, your browser can cache static web assets
I have a flask project, usually i push it to dockerhub and i run it using docker run dockerhub-image, and after i updated things inside static folder, i stopped and removed the container and also removed the image, after that i repush it again to dockerhub and re-run it, but when visiting it on the web, the files inside static folder does not change at all (other files outside static folder are changed), had no idea to fix this.
I have searched questions related to this issue but couldn't find any of it.
Q: how do fix this issue?
Files inside static folder are not updated on docker