DEV Community

Discussion on: How to debug Node.js in a Docker container

Collapse
 
lfre profile image
Alfredo Lopez

You can do the same by adding node_modules to a .dockerignore file. 👍

Thread Thread
 
alex_barashkov profile image
Alex Barashkov

No. dockerignore works only for the process of copying file during the build of the image and has nothing to do with mount.