Have you tried clearing build cache? That docker compose has build init and web containers. Latest version docker compose have —no-cache option
https://docs.docker.com/engine/reference/commandline/compose_build/
There is also prune command
https://docs.docker.com/engine/reference/commandline/builder_prune/