diff --git a/Dockerfile b/Dockerfile
index 8774a201973212f995fd31d0e52428fd427b3759..4f5ea82ee4a27338d021f632e851b73e681f4470 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -12,7 +12,7 @@ RUN apt-get update && apt-get install -y \
     # Optional NIFTy dependencies
     python3-mpi4py python3-matplotlib \
   # more optional NIFTy dependencies
-  && pip3 install ducc0 finufft jupyter jax jaxlib sphinx pydata-sphinx-theme \
+  && DUCC0_OPTIMIZATION=portable pip3 install ducc0 finufft jupyter jax jaxlib sphinx pydata-sphinx-theme \
   && rm -rf /var/lib/apt/lists/*
 
 # Set matplotlib backend