From 070a5fd74f44aa7f29dba0a6d5f9c32c58fb5cda Mon Sep 17 00:00:00 2001 From: Stefan Schwarz Date: Sun, 6 Oct 2019 22:35:33 +0200 Subject: [PATCH] remove npm cache from image --- docker/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index cd2de6f9a..d7983d5c9 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -44,7 +44,8 @@ RUN echo "Getting version: ${ETHERPAD_VERSION}" && \ WORKDIR /opt/etherpad-lite # install node dependencies for Etherpad -RUN bin/installDeps.sh +RUN bin/installDeps.sh && \ + rm -rf ~/.npm/_cacache # Install the plugins, if ETHERPAD_PLUGINS is not empty. #