app/Dockerfile

11 lines
173 B
Docker

FROM node:22.12-bullseye
WORKDIR /app
COPY package.json yarn.lock ./
RUN corepack enable && yarn install --frozen-lockfile
COPY . .
RUN yarn build
CMD ["yarn", "start"]