build: reduce verbosity of builds
This commit is contained in:
parent
e8d9d620e3
commit
58ea9aaac0
@ -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" ]
|
||||
|
@ -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" ]
|
||||
|
Loading…
Reference in New Issue
Block a user