Created
August 4, 2021 10:30
-
-
Save avblink/9ca68eb3bd9d890d689bc6d84573a119 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ENV NVM_DIR="/usr/local/nvm" | |
ENV NVM_VERSION=v0.38.0 | |
ENV NODE_VERSION 10.16.3 | |
RUN mkdir -p $NVM_DIR | |
# Install nvm with node and npm | |
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/${NVM_VERSION}/install.sh | bash \ | |
&& . $NVM_DIR/nvm.sh \ | |
&& nvm install $NODE_VERSION && npm i -g yarn \ | |
&& nvm install 12 && npm i -g yarn |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment