14 lines
480 B
Plaintext
14 lines
480 B
Plaintext
FROM hosttoday/ht-docker-node:latest
|
|
LABEL author="Lossless GmbH <hello@lossless.com>"
|
|
|
|
RUN bash -c "source $NVM_DIR/nvm.sh \
|
|
&& nvm install $NODE_VERSION_STABLE \
|
|
&& nvm alias default $NODE_VERSION_STABLE \
|
|
&& nvm use default \
|
|
&& npm config set unsafe-perm true \
|
|
&& npm install -g agentkeepalive \
|
|
&& 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
|