mirror of
https://github.com/jeffvli/feishin.git
synced 2026-11-20 00:51:26 -08:00
fix missing pnpm deps in Dockerfile
This commit is contained in:
1 parent
ad745b3691
commit
149c7c40b2
1 file changed
+3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user