TwentyT
Twenty2y ago
2 replies
Waizbart

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?
Was this page helpful?