diff --git a/basis/Dockerfile b/basis/Dockerfile
index aec5b003507705d013216fa9aac186ab72f67bd8..93e7ae154a7d7f6111d2bc9e516013dc6eef6534 100755
--- a/basis/Dockerfile
+++ b/basis/Dockerfile
@@ -25,9 +25,7 @@ RUN apt-get update -y && apt-get upgrade -y && \
 
 ### installing pip packages
 RUN pip install numpy seaborn scipy matplotlib uncertainties pyunfold PhyPraKit pandas\
-    kafe2 pydot graphviz scikit-learn jupytext nbgitpuller jupyterlab-git ipympl pyarrow ipywidgets jupyter-server bash_kernel --upgrade --no-cache-dir
-
-RUN pip install iminuit --no-cache
+    kafe2 pydot graphviz scikit-learn jupytext nbgitpuller jupyterlab-git ipympl pyarrow ipywidgets jupyter-server bash_kernel iminuit --upgrade --no-cache-dir
 
 RUN export NBGITPULLER_PARENTPATH=/home/$NB_USER