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" ]