1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-08-02 20:15:27 +02:00

build: Pin pnpm version

This commit is contained in:
Maksim Eltyshev 2025-02-26 17:14:41 +01:00
parent 4821d407a7
commit a618445a2f
4 changed files with 19 additions and 22 deletions

View file

@ -1,18 +1,20 @@
FROM node:18-alpine AS server-dependencies
RUN apk -U upgrade \
&& apk add build-base python3 \
--no-cache
&& apk add build-base python3 --no-cache
WORKDIR /app/client
COPY package.json package-lock.json /app/client/
COPY package.json package-lock.json .
RUN npm install npm --global \
&& npm install pnpm --global \
&& npm install pnpm@9 --global \
&& pnpm import \
&& pnpm install
WORKDIR /app
COPY ../../package.json ../../package-lock.json .
WORKDIR /app/
COPY ../../package.json ../../package-lock.json /app/
RUN pnpm import \
&& pnpm install