2020-04-09 11:00:30 +02:00
|
|
|
FROM thecodingmachine/nodejs:12
|
|
|
|
|
2020-09-18 17:18:50 +02:00
|
|
|
COPY --chown=docker:docker back .
|
|
|
|
COPY --chown=docker:docker messages ../messages
|
2020-04-09 11:00:30 +02:00
|
|
|
RUN yarn install
|
2020-09-18 17:51:12 +02:00
|
|
|
RUN cd /usr/src/messages && yarn install && yarn proto
|
2020-04-09 11:00:30 +02:00
|
|
|
|
|
|
|
ENV NODE_ENV=production
|
|
|
|
|
2020-04-11 15:11:22 +02:00
|
|
|
CMD ["yarn", "run", "prod"]
|
2020-04-12 15:50:14 +02:00
|
|
|
|