ht-docker-node/Dockerfile_lts

11 lines
388 B
Plaintext
Raw Normal View History

2016-06-04 01:31:13 +00:00
FROM hosttoday/ht-docker-node:latest
2017-06-30 14:18:55 +00:00
MAINTAINER Lossless GmbH <office@lossless.com>
2016-07-18 01:57:23 +00:00
RUN bash -c "source $NVM_DIR/nvm.sh \
&& nvm install $NODE_VERSION_LTS \
&& nvm alias default $NODE_VERSION_LTS \
&& nvm use default \
&& npm install -g npm"
ENV NODE_PATH $NVM_DIR/v$NODE_VERSION_LTS/lib/node_modules
ENV PATH $NVM_DIR/versions/node/v$NODE_VERSION_LTS/bin:$PATH