2016-06-04 02:43:39 +02:00
|
|
|
FROM hosttoday/ht-docker-node:latest
|
2017-10-13 16:43:58 +02:00
|
|
|
LABEL author="Lossless GmbH <office@lossless.com>"
|
2017-03-11 14:29:10 +01:00
|
|
|
|
|
|
|
RUN bash -c "source $NVM_DIR/nvm.sh \
|
|
|
|
&& nvm install $NODE_VERSION_STABLE \
|
|
|
|
&& nvm alias default $NODE_VERSION_STABLE \
|
|
|
|
&& nvm use default \
|
2017-06-30 17:03:29 +02:00
|
|
|
&& npm config set unsafe-perm true \
|
2017-03-11 14:29:10 +01:00
|
|
|
&& npm install -g npm"
|
|
|
|
|
|
|
|
ENV NODE_PATH $NVM_DIR/v$NODE_VERSION_STABLE/lib/node_modules
|
|
|
|
ENV PATH $NVM_DIR/versions/node/v$NODE_VERSION_STABLE/bin:$PATH
|