Hello,
I changed the source code of a container and used the docker compose up -d --force-recreate command, but when I logged into the container, I saw that those changes had not been applied. The changes are only applied when I use the docker compose build Container_Name command. This command is time consuming.
There are containers, and there are images, you have updated your local files’ code - but in order to launch a container according to the new code, you need to update the image, that’s why you build
When in development, you can use bind-mounts to mount your local files into the container, thereby using the updated code without rebuilding the image, until you are sure it is stable