FROM jdxcode/mise:2026.11.14-debian@sha256:a7df8beaeca2fc6d2e829278e5eef253330db5cde50bb196462616573107b120 AS build WORKDIR /app SHELL ["/bin/bash", "-euo", "pipefail", "-c"] COPY .config .config RUN mise trust && mise install && eval "$(mise activate bash)" COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./ RUN pnpm ci -P COPY . . RUN pnpm run gen-licenses && pnpm run build FROM node:26.13.1-slim@sha256:abe7e5a82b61a8ef67b315b85497c9e65173387ccf2f4a029248184b8e020be5 WORKDIR /app SHELL ["/bin/bash", "-euo", "pipefail", "-c"] COPY --from=build app/.output/ ./ EXPOSE 3000 ENV DOCKER=true CMD ["node", "./server/index.mjs"]