Dockerfile: enable pnpm in builder stage

This commit is contained in:
Manohar Gupta 2026-05-16 22:38:02 +05:30
parent aec1e4bcab
commit ca4e1355d6

View file

@ -12,7 +12,7 @@ RUN apk add --no-cache libc6-compat openssl
WORKDIR /app WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules COPY --from=deps /app/node_modules ./node_modules
COPY . . COPY . .
RUN npm exec esbuild --version || apk add --no-cache esbuild RUN corepack enable pnpm
RUN pnpm run build RUN pnpm run build
# Stage 3: Production runner # Stage 3: Production runner