diff --git a/docker/pipeline/Dockerfile b/docker/pipeline/Dockerfile
index 7cadc5a9f507d7ed2db9985161d1b4cdf87576c4..692edb434ecbdc5651dad5bcca5e02ebb66a09eb 100644
--- a/docker/pipeline/Dockerfile
+++ b/docker/pipeline/Dockerfile
@@ -51,7 +51,8 @@ RUN wget -q https://bootstrap.pypa.io/get-pip.py && \
 
 # Install required python packages
 RUN python3 -m pip install \
-    'numpy<2'
+    'numpy<2' \
+    pybind11
 
 # Install the casacore measures data. We purposely do not install these from
 # the Ubuntu repository, but download the latest version directly from the
diff --git a/requirements.txt b/requirements.txt
index de6af900eb4bc2ec5fafbe3809d0d86193e89e23..ad89d2f419626f25a373a24f5de64d1649ec36a4 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -3,4 +3,3 @@ toil[cwl]
 lsmtool
 pandas
 python-casacore
-pybind11
\ No newline at end of file