We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bcfaa99 commit d0eaf53Copy full SHA for d0eaf53
Dockerfile
@@ -3,10 +3,10 @@ ARG NODE_VERSION=23.5.0
3
# Create build stage
4
FROM node:${NODE_VERSION}-slim AS build
5
6
-# Enable pnpm
+# Enable and prepare pnpm with a known good version
7
ENV PNPM_HOME="/pnpm"
8
ENV PATH="$PNPM_HOME:$PATH"
9
-RUN corepack enable
+RUN corepack prepare pnpm@8.6.0 --activate
10
11
# Set the working directory inside the container
12
WORKDIR /app
0 commit comments