1
0
Fork 0
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:
Maksim Eltyshev 2023-11-23 11:54:28 +01:00
parent 4db9d8f826
commit cea6db2a0d

View file

@ -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 .