How to skip mounting some subdirs from project root ? #5167
|
Hello! |
Replies: 3 comments 3 replies
|
Hi @sergiirepin Can you give a specific example of what you want and what "ignore" means? Do you want the code not to be available inside the container? If you can give a specific example maybe I can help. Also tell me what OS and Docker provider you're working with. |
|
Hey @rfay, thanks for answer!
For example I have two vendor folders and I want to decide which one should be mounted to the container. Something like what. |
|
@rfay yeah, this is how it works for me right now :) |
I should say that you could in fact separately mount the vendor directory using a
docker-compose.*.yamland it would work. But lots of work compared to just letting both of them live side-by-side and link the one you want.