I have a node project and my docker image already has the dependencies installed.
I want to run docker-compose with my project folder to be in sync with the container's folder so I can edit local files and they should change inside the container.
BUT I want to keep whatever content there was inside image's node_modules
folder.
I know this question tells me how to ignore a subfolder when mounting a volume, but that will erase the dependencies that were already installed.
Is there any way to mount my project's folder but keep the container's node_modules
subfolder?