From ae91e87c6150be35560ca7f02573df622f088da0 Mon Sep 17 00:00:00 2001 From: SamTV12345 <40429738+samtv12345@users.noreply.github.com> Date: Fri, 15 Dec 2023 21:32:43 +0100 Subject: [PATCH] Always install npm@6 for correct package-lock.json version. --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 6c45683f0..af3ac5cd0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -100,6 +100,7 @@ COPY --chown=etherpad:etherpad ./ ./ # rules. RUN { [ -z "${ETHERPAD_PLUGINS}" ] || \ npm install --no-save --legacy-peer-deps ${ETHERPAD_PLUGINS}; } && \ + npm install npm@6 -g \ src/bin/installDeps.sh && \ rm -rf ~/.npm