How to share the volume created by ‘Dev Containers: Clone Repository in Container Volume…’
I’m building a devcontainer setup for a webapp which uses docker-compose to fire up multiple services. I’d like to be able to add a service (webpack) to support hot-reloading to my docker-compose.yml but in order to do that, it needs to mount the same volume that the repo is cloned to. Is there any way to have the docker-compose configuration for my hot-reload service to find and mount the volume VSCode created when it cloned the repo into it?
How to share the volume created by ‘Dev Containers: Clone Repository in Container Volume…’
I’m building a devcontainer setup for a webapp which uses docker-compose to fire up multiple services. I’d like to be able to add a service (webpack) to support hot-reloading to my docker-compose.yml but in order to do that, it needs to mount the same volume that the repo is cloned to. Is there any way to have the docker-compose configuration for my hot-reload service to find and mount the volume VSCode created when it cloned the repo into it?