We should extend the cli container to use the latest LTS version of node/npm
# Use a stock Docksal image as the base
FROM docksal/cli:2-php7.4
# nvm/node/npm are only available in the docker user context
USER docker
# Install additional global npm dependencies
RUN set -e; \
# Initialize the user environment (this loads nvm)
. $HOME/.profile; \
# Install the necessary nodejs version
nvm install 14.16.1; \
nvm alias default 14.16.1; \