Skip to content

Commit e584fa5

Browse files
committed
fix: update pnpm version in docker/Dockerfile to 10.33.2
Missed 5 hardcoded corepack prepare pnpm@10.23.0 references in the production Dockerfile. https://claude.ai/code/session_01G759MUqmjsPh9k1qDxbdjG
1 parent a62ac0c commit e584fa5

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

docker/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ COPY --chown=node:node patches ./patches
2525
FROM base AS dev-deps
2626
WORKDIR /triggerdotdev
2727
# Corepack is used to install pnpm with the exact version from packageManager
28-
RUN corepack enable && corepack prepare pnpm@10.23.0 --activate
28+
RUN corepack enable && corepack prepare pnpm@10.33.2 --activate
2929
ENV NODE_ENV=development
3030
RUN --mount=type=cache,id=pnpm,target=/root/.local/share/pnpm/store pnpm install --no-frozen-lockfile
3131
# Generate Prisma client here where all deps are installed
@@ -36,7 +36,7 @@ RUN pnpx prisma@6.14.0 generate --schema /triggerdotdev/internal-packages/databa
3636
FROM base AS production-deps
3737
WORKDIR /triggerdotdev
3838
# Corepack is used to install pnpm with the exact version from packageManager
39-
RUN corepack enable && corepack prepare pnpm@10.23.0 --activate
39+
RUN corepack enable && corepack prepare pnpm@10.33.2 --activate
4040
ENV NODE_ENV=production
4141
RUN --mount=type=cache,id=pnpm,target=/root/.local/share/pnpm/store pnpm install --prod --no-frozen-lockfile
4242

@@ -46,7 +46,7 @@ FROM base AS builder
4646
RUN apt-get update && apt-get install -y openssl dumb-init ca-certificates
4747
WORKDIR /triggerdotdev
4848
# Corepack is used to install pnpm with the exact version from packageManager
49-
RUN corepack enable && corepack prepare pnpm@10.23.0 --activate
49+
RUN corepack enable && corepack prepare pnpm@10.33.2 --activate
5050

5151
ARG SENTRY_RELEASE
5252
ARG SENTRY_ORG
@@ -106,11 +106,11 @@ ENV BUILD_APP_VERSION=${BUILD_APP_VERSION} \
106106
EXPOSE 3000
107107

108108
# Add global pnpm shims and install pnpm during build (root user)
109-
RUN corepack enable && corepack prepare pnpm@10.23.0 --activate
109+
RUN corepack enable && corepack prepare pnpm@10.33.2 --activate
110110

111111
USER node
112112

113113
# Ensure pnpm is installed during build and not silently downloaded at runtime (node user)
114-
RUN corepack prepare pnpm@10.23.0 --activate
114+
RUN corepack prepare pnpm@10.33.2 --activate
115115

116116
CMD ["./scripts/entrypoint.sh"]

0 commit comments

Comments
 (0)