Running new code with docker compose
I am trying to run the project with Docker after making some changes in the code, but it’s not rebuilding the image; it keeps using an old image. I pulled the latest code to my server and then ran docker compose down followed by docker compose up -d.
How do I ensure that Docker rebuilds the image with the latest code?
2 Replies