Generate pl types prior to building for production
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
ec284177ee
commit
26363eb249
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user