12 lines
242 B
Docker
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"]
|
|
|