diff --git a/Dockerfile b/Dockerfile index f12c31b..080b6b6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,11 +15,13 @@ FROM base AS builder ENV PNPM_HOME="/pnpm" ENV PATH="$PNPM_HOME:$PATH" RUN corepack enable + COPY package.json pnpm-lock.yaml ./ RUN pnpm install --frozen-lockfile COPY . . ENV NODE_ENV=production +RUN pnp generate:types RUN pnpm build # Production: copy build artifacts