FROM node:18-bookworm WORKDIR /app COPY package.json pnpm-lock.yaml ./ RUN npm i -g pnpm RUN pnpm install --frozen-lockfile --prod COPY . . RUN pnpm generate RUN pnpm build ENTRYPOINT [ "./entrypoint.sh" ]