From aeb56dd59486c3c6fa8750f9578267f4e81af07e Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Thu, 17 Jun 2021 19:16:31 -0400 Subject: [PATCH] Docker: Don't create `package-lock.json` when installing plugins --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 660aacf9c..736204761 100644 --- a/Dockerfile +++ b/Dockerfile @@ -72,7 +72,7 @@ COPY --chown=etherpad:etherpad ./ ./ RUN src/bin/installDeps.sh && \ rm -rf ~/.npm/_cacache -RUN [ -z "${ETHERPAD_PLUGINS}" ] || npm install ${ETHERPAD_PLUGINS} +RUN [ -z "${ETHERPAD_PLUGINS}" ] || npm install --no-save ${ETHERPAD_PLUGINS} # Copy the configuration file. COPY --chown=etherpad:etherpad ./settings.json.docker "${EP_DIR}"/settings.json