diff --git a/PythonServer/Dockerfile b/PythonServer/Dockerfile
index cdb1d4f1793fe960e48c8aeb6c9ab53c41b3838a..872d77715e65d282409c06b36ec483c1c21e9bf8 100644
--- a/PythonServer/Dockerfile
+++ b/PythonServer/Dockerfile
@@ -11,7 +11,7 @@ RUN conda update -n base conda \
   && conda config --system --set channel_alias https://artifactory.esss.lu.se/artifactory/api/conda \
   && conda config --system --set use_only_tar_bz2 true \
   && conda env create -n pos -f /app/environment.yml \
-  && conda clean -tipsy
+  && conda clean -ay
 
 COPY --chown=csi:csi pos-python-server.py /app/
 # Make sure the /app directory is owned by csi