mirror of
https://github.com/plankanban/planka.git
synced 2025-07-18 20:59:44 +02:00
chore: Switch to pnpm package manager
This commit is contained in:
parent
6aefccf543
commit
ff3cb6a1c8
1 changed files with 4 additions and 2 deletions
|
@ -5,7 +5,8 @@ WORKDIR /app
|
|||
COPY server/package.json server/package-lock.json .
|
||||
|
||||
RUN npm install npm@latest --global \
|
||||
&& npm clean-install --omit=dev
|
||||
&& npm install pnpm --global \
|
||||
&& pnpm install --prod
|
||||
|
||||
FROM node:lts AS client
|
||||
|
||||
|
@ -14,7 +15,8 @@ WORKDIR /app
|
|||
COPY client/package.json client/package-lock.json .
|
||||
|
||||
RUN npm install npm@latest --global \
|
||||
&& npm clean-install --omit=dev
|
||||
&& npm install pnpm --global \
|
||||
&& pnpm install --prod
|
||||
|
||||
COPY client .
|
||||
RUN DISABLE_ESLINT_PLUGIN=true npm run build
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue