2020-11-13 18:00:22 +01:00
|
|
|
FROM thecodingmachine/nodejs:12
|
|
|
|
|
2020-12-09 16:33:59 +01:00
|
|
|
COPY --chown=docker:docker pusher .
|
2020-11-13 18:00:22 +01:00
|
|
|
RUN yarn install
|
|
|
|
|
|
|
|
ENV NODE_ENV=production
|
2020-12-09 16:33:59 +01:00
|
|
|
RUN yarn run tsc
|
2020-11-13 18:00:22 +01:00
|
|
|
|
2020-12-09 16:33:59 +01:00
|
|
|
CMD ["yarn", "run", "runprod"]
|