Issue
In docker-compose.yml there is a named Docker volume mounted on the /public/cache directory and bind-mounting the public directory:
volumes:
- ./app:/app
- ./public:/public
- cache:/public/cache
- ./xml:/xml
- vendor:/vendor
Docker is mounting the local ./public to /public and then overwriting /public/cache with the named volume cache:. Anything that gets written into /public/cache persists across container rebuilds and will not refresh unless you remove the docker volume with docker compose down -v.
Proposed solution
-or-
Issue
In
docker-compose.ymlthere is a named Docker volume mounted on the/public/cachedirectory and bind-mounting thepublicdirectory:Docker is mounting the local
./publicto/publicand then overwriting/public/cachewith the named volumecache:. Anything that gets written into/public/cachepersists across container rebuilds and will not refresh unless you remove the docker volume withdocker compose down -v.Proposed solution
-or-