Use JOBS=MAX for npm install

This commit is contained in:
Pagan Gazzard 2015-07-15 22:25:35 +01:00 committed by Pablo Carranza Vélez
parent 74ca087c7a
commit 7d78d0dad8
5 changed files with 5 additions and 4 deletions

View File

@ -1,3 +1,4 @@
* Use JOBS=MAX for npm install. [Page]
* Updated pinejs-client so that valid ssl certificates are enforced by default. [Page]
* Write the `registered_at` time to config.json as well, in case there is a failure between writing to config.json and writing to knex [Page]

View File

@ -16,7 +16,7 @@ WORKDIR /app
COPY package.json postinstall.sh /app/
RUN apt-get -q update \
&& apt-get install -qqy g++ libsqlite3-dev make --no-install-recommends \
&& npm install --unsafe-perm --production \
&& JOBS=MAX npm install --unsafe-perm --production \
&& npm dedupe \
&& npm cache clean \
&& rm -rf /tmp/* \

View File

@ -16,7 +16,7 @@ WORKDIR /app
COPY package.json postinstall.sh /app/
RUN apt-get -q update \
&& apt-get install -qqy g++ libsqlite3-dev make --no-install-recommends \
&& npm install --unsafe-perm --production \
&& JOBS=MAX npm install --unsafe-perm --production \
&& npm dedupe \
&& npm cache clean \
&& rm -rf /tmp/* \

View File

@ -16,7 +16,7 @@ WORKDIR /app
COPY package.json postinstall.sh /app/
RUN apt-get -q update \
&& apt-get install -qqy g++ libsqlite3-dev make --no-install-recommends \
&& npm install --unsafe-perm --production \
&& JOBS=MAX npm install --unsafe-perm --production \
&& npm dedupe \
&& npm cache clean \
&& rm -rf /tmp/* \

View File

@ -16,7 +16,7 @@ WORKDIR /app
COPY package.json postinstall.sh /app/
RUN apt-get -q update \
&& apt-get install -qqy g++ libsqlite3-dev make --no-install-recommends \
&& npm install --unsafe-perm --production \
&& JOBS=MAX npm install --unsafe-perm --production \
&& npm dedupe \
&& npm cache clean \
&& rm -rf /tmp/* \