Fixing Docker build images to add new messages directory

This commit is contained in:
David Négrier 2020-09-18 17:18:50 +02:00
parent 32f92d5c45
commit 7826b2ea8d
4 changed files with 9 additions and 5 deletions

View file

@ -1,7 +1,9 @@
FROM thecodingmachine/nodejs:12
COPY --chown=docker:docker . .
COPY --chown=docker:docker back .
COPY --chown=docker:docker messages ../messages
RUN yarn install
RUN cd /usr/src/messages && yarn install
ENV NODE_ENV=production