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