Dockerfile: enable pnpm in builder stage
This commit is contained in:
parent
aec1e4bcab
commit
ca4e1355d6
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue