Docker: Don't create `package-lock.json` when installing plugins

pull/5091/head
Richard Hansen 2021-06-17 19:16:31 -04:00
parent 9fcd86b3cd
commit aeb56dd594
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ COPY --chown=etherpad:etherpad ./ ./
RUN src/bin/installDeps.sh && \ RUN src/bin/installDeps.sh && \
rm -rf ~/.npm/_cacache 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 the configuration file.
COPY --chown=etherpad:etherpad ./settings.json.docker "${EP_DIR}"/settings.json COPY --chown=etherpad:etherpad ./settings.json.docker "${EP_DIR}"/settings.json