build: reduce verbosity of builds

This commit is contained in:
Tom Gallacher 2016-10-21 12:00:09 +01:00
parent e8d9d620e3
commit 58ea9aaac0
2 changed files with 2 additions and 2 deletions

View File

@ -27,6 +27,6 @@ COPY package.json yarn.lock ./
COPY . .
RUN chown -R nodejs:nodejs /home/nodejs/
USER nodejs
RUN yarn || cat yarn-error.log
RUN yarn
CMD [ "/bin/containerpilot", "node", "src/index.js" ]

View File

@ -26,7 +26,7 @@ COPY ./etc/containerpilot.json /etc/
USER nodejs
WORKDIR /home/nodejs/
ADD package.json .
RUN npm install # yarn
RUN npm install --quiet --no-spin
ADD . .
CMD [ "/bin/containerpilot", "node", "src/index.js" ]