Skip to content

Commit 22f18fb

Browse files
committed
Update Dockerfile to enable corepack and use specific pnpm version
1 parent 7023f8c commit 22f18fb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

frontend/web/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ FROM base AS builder
1616
WORKDIR /app
1717
COPY --from=deps /app/node_modules ./node_modules
1818
COPY . .
19-
RUN corepack enable pnpm && pnpm run build
19+
RUN corepack enable && \
20+
corepack prepare [email protected] --activate && \
21+
pnpm run build
2022

2123
# Stage 3: Production server
2224
FROM base AS runner

0 commit comments

Comments
 (0)