diff --git a/v1/Dockerfile b/v1/Dockerfile index 673d347..bfa4e97 100644 --- a/v1/Dockerfile +++ b/v1/Dockerfile @@ -8,9 +8,12 @@ RUN apt-get update && apt install $JAVA_VERSION git curl wget -y RUN rm /bin/sh && ln -s /bin/bash /bin/sh -ENV NVM_DIR /opt/ + +# nvm environment variables +ENV NVM_DIR /usr/local/nvm ENV NODE_VERSION 12.13.1 + RUN curl --silent -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.2/install.sh | bash # install node and npm