Skip to content

Commit 5c63080

Browse files
committed
fix: Update Dockerfile for pnpm 11
1 parent a4dddc5 commit 5c63080

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
FROM node:24-slim AS builder
22

3-
RUN corepack enable && corepack prepare pnpm@10.23.0 --activate
3+
RUN corepack enable && corepack prepare pnpm@11.5.1 --activate
44

55
WORKDIR /app
66

7-
COPY package.json pnpm-lock.yaml ./
7+
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
88

99
RUN pnpm install --frozen-lockfile
1010

@@ -14,13 +14,13 @@ RUN pnpm run build
1414

1515
FROM node:24-slim AS final
1616

17-
RUN corepack enable && corepack prepare pnpm@10.23.0 --activate
17+
RUN corepack enable && corepack prepare pnpm@11.5.1 --activate
1818

1919
WORKDIR /app
2020

2121
COPY --from=builder ./app/dist ./dist
2222

23-
COPY package.json pnpm-lock.yaml ./
23+
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
2424

2525
RUN pnpm install --frozen-lockfile --prod
2626

0 commit comments

Comments
 (0)