Use npm
and node
as aliases to the dockerized version
Maybe aliases aren't enough and node
and npm
need to be somewhere where the $PATH
can find them
A new version of node/npm comes out Need an update software that checks/downloads the newer docker images
Requires write authority on current directory ($PWD
) to create subdirectories/files
Only on npm domains (cdns, etc.) to begin with npm can retrieve packages by URL, so let's not limit anything here for now
network_mode: "none"
Sometimes, a node program needs more authority than the default. Need to specify this additional authority.
This can be done via an additional docker-compose file that uses extends
Maybe use nvm inside the container?
Maybe environment variable like NODE_VERSION
provide a loggednpm
command
Malicious code can be hidden inside the package code
Need to run node contained as well