FROM node:14

RUN mkdir /code
WORKDIR /code

COPY package.json yarn.lock ./
RUN yarn install

COPY . .

EXPOSE 3000
CMD yarn start -p 3000
