2016-06-04 03:31:13 +02:00
|
|
|
FROM hosttoday/ht-docker-node:latest
|
2018-11-28 22:37:03 +01:00
|
|
|
LABEL author="Lossless GmbH <hello@lossless.com>"
|
2016-07-18 03:57:23 +02:00
|
|
|
|
|
|
|
RUN bash -c "source $NVM_DIR/nvm.sh \
|
|
|
|
&& nvm install $NODE_VERSION_LTS \
|
|
|
|
&& nvm alias default $NODE_VERSION_LTS \
|
|
|
|
&& nvm use default \
|
2017-06-30 17:03:29 +02:00
|
|
|
&& npm config set unsafe-perm true \
|
2021-05-05 15:13:50 +00:00
|
|
|
&& npm install -g agentkeepalive \
|
2016-07-18 03:57:23 +02:00
|
|
|
&& 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
|