diff --git a/docker/Dockerfile.base b/docker/Dockerfile.base index 6ad4378c3..8765ce5e0 100644 --- a/docker/Dockerfile.base +++ b/docker/Dockerfile.base @@ -26,6 +26,10 @@ RUN pip install --upgrade pip && \ pip install --no-cache-dir .${haystack_extras} && \ pip install --no-cache-dir ./rest_api +# Downgrade trio at the last known working version. The issue only +# surfaced in the pytorch-derived image but applying to all the +# images for simplicity. +RUN pip install -U "trio<0.23" FROM $base_image AS final