WIP
This commit is contained in:
parent
30070779ec
commit
3fcd7a5c08
@ -1,7 +1,7 @@
|
|||||||
FROM node:22.13-alpine AS builder
|
FROM node:22.13-alpine AS builder
|
||||||
|
|
||||||
# Enable corepack and install pnpm
|
# Install a pinned pnpm version without relying on Corepack's signature cache.
|
||||||
RUN corepack enable && corepack prepare pnpm@10.18.3 --activate
|
RUN npm install -g pnpm@10.18.3
|
||||||
|
|
||||||
# Disable interactive prompts
|
# Disable interactive prompts
|
||||||
ENV CI=true
|
ENV CI=true
|
||||||
@ -22,7 +22,7 @@ RUN pnpm build
|
|||||||
|
|
||||||
FROM node:22.13-alpine AS runner
|
FROM node:22.13-alpine AS runner
|
||||||
|
|
||||||
RUN corepack enable && corepack prepare pnpm@10.18.3 --activate
|
RUN npm install -g pnpm@10.18.3
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=builder /app ./
|
COPY --from=builder /app ./
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user