From c6bfb1c1d418bcd6431c20c7f781f72405ceae37 Mon Sep 17 00:00:00 2001 From: Sara Zan Date: Fri, 4 Feb 2022 16:06:40 +0100 Subject: [PATCH] Remove rest_api extra frpom Dockerfile-GPU (#2122) --- Dockerfile-GPU | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile-GPU b/Dockerfile-GPU index 6c9739545..3bd1920c3 100644 --- a/Dockerfile-GPU +++ b/Dockerfile-GPU @@ -48,7 +48,8 @@ RUN echo "Install required packages" && \ pip3 install --no-cache-dir torch==1.10.1+cu111 -f https://download.pytorch.org/whl/torch_stable.html # Install package -RUN pip install --no-cache .[docstores_gpu,crawler,preprocessing,ocr,ray,rest] +RUN pip install --no-cache .[docstores_gpu,crawler,preprocessing,ocr,ray] +RUN pip install --no-cache rest_api/ # Cache Roberta and NLTK data RUN python3 -c "from haystack.utils.docker import cache_models;cache_models()"