fix missing pnpm deps in Dockerfile

This commit is contained in:
jeffvli committed 2026-07-11 20:27:00 -07:00
1 parent ad745b3691
commit 149c7c40b2
1 file changed
+3
+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 [email protected] --activate
RUN pnpm install
# Copy code and build with cached modules