FROM node:16 as build

WORKDIR /app

COPY package*.json ./

RUN yarn install --inline-builds

COPY . .

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