add npmci

This commit is contained in:
LosslessBot 2016-05-26 21:50:07 +02:00
parent c81f3446c2
commit 30c57e2f3a

View File

@ -28,7 +28,8 @@ RUN curl https://raw.githubusercontent.com/creationix/nvm/v0.31.0/install.sh | b
&& nvm install $NODE_VERSION \
&& nvm alias default $NODE_VERSION \
&& nvm use default \
&& npm install -g npm"
&& npm install -g npm \
&& npm install npmci"
ENV NODE_PATH $NVM_DIR/v$NODE_VERSION/lib/node_modules
ENV PATH $NVM_DIR/versions/node/v$NODE_VERSION/bin:$PATH