docker compose automatically rebuild image after code change code example Example: docker compose rebuild image $ docker-compose up -d --no-deps --build <service_name>