diff --git a/Dockerfile b/Dockerfile
index c0f61fa46141db4d12f4627fdb7268d9eaca0757..5d358cc4818a98f6991a5e039e00a761aae4e9e4 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -9,8 +9,8 @@ RUN apt-get update && apt-get install -y \
     python3-scipy \
     # Optional NIFTy dependencies
     python3-matplotlib \
-  && pip3 install git+https://gitlab.mpcdf.mpg.de/mtr/pypocketfft.git \
+  && pip3 install git+https://gitlab.mpcdf.mpg.de/mtr/pypocketfft.git@c959e87dd69918fd63ff971fa2eebea99388a43c \
   && rm -rf /var/lib/apt/lists/*
 
 # Set matplotlib backend
-ENV MPLBACKEND agg
\ No newline at end of file
+ENV MPLBACKEND agg