Dockerfile tips and tricks
Jump to navigation
Jump to search
Install nvm in Dockerfile
RUN mkdir -p $NVM_DIR && \
curl https://raw.githubusercontent.com/creationix/nvm/v0.36.0/install.sh | bash && \
. $NVM_DIR/nvm.sh && \
nvm install $NODE_VERSION