Always install npm@6 for correct package-lock.json version.

This commit is contained in:
SamTV12345 2023-12-15 21:32:43 +01:00
parent 315f25f496
commit ae91e87c61

View file

@ -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