NodeJS: Making docker-compose Volumes Ignore the node_modules Directory
How to keep your node_modules from disappearing when you map your app volumes
Code snippets can be found at the bottom of the article.
If you use Docker, you probably also use Docker Compose. Which means you map your app volume…