FROM node:20-alpine

WORKDIR /app

COPY package*.json ./
RUN yarn install --legacy-peer-deps

COPY . .

EXPOSE 3000

CMD ["yarn", "start"]