Bumped pnpm (#6351)

* Bumped pnpm

* Install correct pnpm version

* Install specific pnpm version.
This commit is contained in:
SamTV12345 2024-04-24 19:08:48 +02:00 committed by GitHub
parent 6e52eaabe1
commit fb2f4e8f54
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 4930 additions and 3937 deletions

View file

@ -8,7 +8,7 @@ FROM node:alpine as adminBuild
WORKDIR /opt/etherpad-lite
COPY ./ ./
RUN cd ./admin && npm install -g pnpm && pnpm install && pnpm run build --outDir ./dist
RUN cd ./admin && npm install -g pnpm@9.0.4 && pnpm install && pnpm run build --outDir ./dist
RUN cd ./ui && pnpm install && pnpm run build --outDir ./dist
@ -91,7 +91,7 @@ RUN mkdir -p "${EP_DIR}" && chown etherpad:etherpad "${EP_DIR}"
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863199
RUN \
mkdir -p /usr/share/man/man1 && \
npm install pnpm -g && \
npm install pnpm@9.0.4 -g && \
apk update && apk upgrade && \
apk add --no-cache \
ca-certificates \