mirror of
https://github.com/plankanban/planka.git
synced 2025-07-18 12:49:43 +02:00
build: Use pnpm import before installing dependencies
This commit is contained in:
parent
4db9d8f826
commit
cea6db2a0d
1 changed files with 2 additions and 0 deletions
|
@ -6,6 +6,7 @@ COPY server/package.json server/package-lock.json .
|
|||
|
||||
RUN npm install npm@latest --global \
|
||||
&& npm install pnpm --global \
|
||||
&& pnpm import \
|
||||
&& pnpm install --prod
|
||||
|
||||
FROM node:lts AS client
|
||||
|
@ -16,6 +17,7 @@ COPY client/package.json client/package-lock.json .
|
|||
|
||||
RUN npm install npm@latest --global \
|
||||
&& npm install pnpm --global \
|
||||
&& pnpm import \
|
||||
&& pnpm install --prod
|
||||
|
||||
COPY client .
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue