ht-docker-node/Dockerfile_stable

11 lines
376 B
Plaintext
Raw Normal View History

2016-06-04 00:43:39 +00:00
FROM hosttoday/ht-docker-node:latest
ENV NODE_VERSION 6.2.1
RUN bash -c "source $NVM_DIR/nvm.sh \
&& nvm install $NODE_VERSION_STABLE \
&& nvm alias default $NODE_VERSION_STABLE \
&& nvm use default \
&& 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