From cd95c613a2ca8da45d0bc53b1233324e985b3e8c Mon Sep 17 00:00:00 2001
From: Moritz Maxeiner <mm@ucw.sh>
Date: Wed, 16 Sep 2020 19:19:00 +0200
Subject: [PATCH] [jupyterhub] move npm files out of /root

---
 jupyterhub/base/Dockerfile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/jupyterhub/base/Dockerfile b/jupyterhub/base/Dockerfile
index 3fc29c4..9d91457 100755
--- a/jupyterhub/base/Dockerfile
+++ b/jupyterhub/base/Dockerfile
@@ -16,7 +16,9 @@ RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - && \
         node-gyp \
         libssl1.0-dev \
         openjdk-11-jre-headless && \
-    apt-get clean
+    apt-get clean && \
+    npm config set cache /var/cache/npm --global && \
+    npm config set update-notifier false --global
 
 RUN python${PYTHON_VERSION} -m pip install \
         jupyterlab \
-- 
GitLab