Dockerfile tips and tricks

From HPCWIKI
Revision as of 08:16, 2 May 2023 by Admin (talk | contribs)
Jump to navigation Jump to search

Install nvm in Dockerfile[1]

<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

Reference