diff --git a/jupyterhub/base/Dockerfile b/jupyterhub/base/Dockerfile
index 3fc29c47f5526842c04d8ace2fd75a26deea66c2..9d914572d7789ff077a130d358d99989cde0cb75 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 \