FROM node:lts-alpine

RUN mkdir /appreports
WORKDIR /appreports
COPY . .

RUN yarn; \
  yarn compile;

EXPOSE 3000

ENTRYPOINT ["node", "index.js"]