Apparently running apt-get install npm already installs the required NPM version 1.4.21.
Running npm install npm now upgrades NPM to version 4.6.1 and this breaks things.
Things 'patch' removes the two lines related to the NPM upgrade (that shouldn't happen) from the Dockerfile.
Apparently running
apt-get install npm
already installs the required NPM version 1.4.21. Runningnpm install npm
now upgrades NPM to version 4.6.1 and this breaks things.Things 'patch' removes the two lines related to the NPM upgrade (that shouldn't happen) from the Dockerfile.