I would like to mount everything inside my current directory, except /node_modules and /client/bower_components. I currently have to manually mount all the paths as following:
app:
build: .
ports:
- "3000:3000"
- "35729:35729"
links:
- mongo
volumes:
- client/app:/www/app/client/app
- client/assets:/www/app/client/assets
- client/components:/www/app/client/components
- server:/www/app/server
...
mongo:
image: mongo
ports:
- "27017:27017"
Is there somehow I can exclude some paths, for example !client/bower_components and !node_modules?