I'm using windows 10 and i have a folder with multiple reactjs apps(app1, app2 etc.)
I want to mount this entire folder inside a container but exclude all the "node_modules" directories, so it wont be mapped between container and host.
Can I achieve that with docker-compose volumes?
Now my docker-compose.yaml file looks like this:
version: '3.8'
services:
web:
container_name: app_container
volumes:
- ".:/apps"
- "/apps/app1/node_modules"
But this ignores only the node_modules from the "app1".