mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-09-22 14:43:07 +00:00
Remove rest_api extra frpom Dockerfile-GPU (#2122)
This commit is contained in:
parent
957e78ed9e
commit
c6bfb1c1d4
@ -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()"
|
||||
|
Loading…
x
Reference in New Issue
Block a user