workadventure/back/Dockerfile
2020-09-18 17:51:12 +02:00

12 lines
242 B
Docker

FROM thecodingmachine/nodejs:12
COPY --chown=docker:docker back .
COPY --chown=docker:docker messages ../messages
RUN yarn install
RUN cd /usr/src/messages && yarn install && yarn proto
ENV NODE_ENV=production
CMD ["yarn", "run", "prod"]