Building with native build. Learn about native build in Compose here: https://docs.docker.com/go/compose-native-build/ code example
Example: docker-compose force rebuild
# Build images before starting containers.
docker-compose up --build
# Recreate containers even if configuration/image hasn't changed.
docker-compose up --force-recreate