fix missing pnpm deps in Dockerfile

This commit is contained in:
jeffvli
2026-07-11 20:27:00 -07:00
parent ad745b3691
commit 149c7c40b2
+3
View File
@@ -5,6 +5,9 @@ WORKDIR /app
# Copy package.json first to cache node_modules
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml .
# Match packageManager in package.json (pnpm is not bundled in the Node image)
RUN corepack enable && corepack prepare pnpm@11.5.2 --activate
RUN pnpm install
# Copy code and build with cached modules