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 . . COPY . .
RUN chown -R nodejs:nodejs /home/nodejs/ RUN chown -R nodejs:nodejs /home/nodejs/
USER nodejs USER nodejs
RUN yarn || cat yarn-error.log RUN yarn
CMD [ "/bin/containerpilot", "node", "src/index.js" ] CMD [ "/bin/containerpilot", "node", "src/index.js" ]

View File

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