From 58ea9aaac0e80361e43674abcc3370b08c55d7b7 Mon Sep 17 00:00:00 2001 From: Tom Gallacher Date: Fri, 21 Oct 2016 12:00:09 +0100 Subject: [PATCH] build: reduce verbosity of builds --- backend/Dockerfile | 2 +- cloudapi-graphql/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/Dockerfile b/backend/Dockerfile index c6c8da6d..f670c3ed 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -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" ] diff --git a/cloudapi-graphql/Dockerfile b/cloudapi-graphql/Dockerfile index cdc33c7d..8f7bf8f9 100644 --- a/cloudapi-graphql/Dockerfile +++ b/cloudapi-graphql/Dockerfile @@ -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" ]