FROM docker.io/node:21-bullseye
RUN corepack enable
ADD . .
RUN pnpm i --frozen-lockfile
RUN pnpm run build
CMD [ "node", ".output/server/index.mjs" ]