In some cases mounting node_modules in the container leads to shared library linking issues (libcrypt.so) for instance.