FROM node:20-alpine
RUN apk add git
WORKDIR /app
COPY package.json .
COPY yarn.lock .
RUN yarn
COPY . .
ENTRYPOINT ["yarn", "start"]