I am struggling to understand the following syntax in docker-compose yml for the volumes.
cache:
build: ../../
dockerfile: docker/dev/Dockerfile
volumes:
- /tmp/cache:/cache
- /build
entrypoint: "true"
The first volume /cache is clearly mounted to physical folder /tmp/cache on the host. Where is it mounted the second one /build instead? I could not find good references.
thanks.