Skip to content

Commit c6bfb1c

Browse files
authoredFeb 4, 2022
Remove rest_api extra frpom Dockerfile-GPU (deepset-ai#2122)
1 parent 957e78e commit c6bfb1c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎Dockerfile-GPU

+2-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ RUN echo "Install required packages" && \
4848
pip3 install --no-cache-dir torch==1.10.1+cu111 -f https://download.pytorch.org/whl/torch_stable.html
4949

5050
# Install package
51-
RUN pip install --no-cache .[docstores_gpu,crawler,preprocessing,ocr,ray,rest]
51+
RUN pip install --no-cache .[docstores_gpu,crawler,preprocessing,ocr,ray]
52+
RUN pip install --no-cache rest_api/
5253

5354
# Cache Roberta and NLTK data
5455
RUN python3 -c "from haystack.utils.docker import cache_models;cache_models()"

0 commit comments

Comments
 (0)