mirror of
https://github.com/plankanban/planka.git
synced 2025-07-18 20:59:44 +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 \
|
RUN npm install npm@latest --global \
|
||||||
&& npm install pnpm --global \
|
&& npm install pnpm --global \
|
||||||
|
&& pnpm import \
|
||||||
&& pnpm install --prod
|
&& pnpm install --prod
|
||||||
|
|
||||||
FROM node:lts AS client
|
FROM node:lts AS client
|
||||||
|
@ -16,6 +17,7 @@ COPY client/package.json client/package-lock.json .
|
||||||
|
|
||||||
RUN npm install npm@latest --global \
|
RUN npm install npm@latest --global \
|
||||||
&& npm install pnpm --global \
|
&& npm install pnpm --global \
|
||||||
|
&& pnpm import \
|
||||||
&& pnpm install --prod
|
&& pnpm install --prod
|
||||||
|
|
||||||
COPY client .
|
COPY client .
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue