From ffc722e0d33d0eaab14235f79a3aa840f17c644c Mon Sep 17 00:00:00 2001 From: SamTV12345 <40429738+samtv12345@users.noreply.github.com> Date: Wed, 24 Apr 2024 19:02:56 +0200 Subject: [PATCH] Install specific pnpm version. --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 00b3f4b67..65fd6cd61 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \