Skip to content

Commit

Permalink
Add dependency for pdf2image and OCR processing (#421)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZailiWang committed Aug 21, 2024
1 parent 3c29fb4 commit 9397522
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion comps/dataprep/redis/langchain/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ RUN apt-get update -y && apt-get install -y --no-install-recommends --fix-missin
libgl1-mesa-glx \
libjemalloc-dev \
default-jre \
vim
vim \
poppler-utils \
tesseract-ocr

RUN useradd -m -s /bin/bash user && \
mkdir -p /home/user && \
Expand Down
4 changes: 3 additions & 1 deletion comps/dataprep/redis/langchain_ray/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ RUN apt-get update -y && apt-get install -y --no-install-recommends --fix-missin
libgl1-mesa-glx \
libjemalloc-dev \
vim \
libcairo2
libcairo2 \
poppler-utils \
tesseract-ocr

RUN useradd -m -s /bin/bash user && \
mkdir -p /home/user && \
Expand Down
4 changes: 3 additions & 1 deletion comps/dataprep/redis/llama_index/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ RUN apt-get update -y && apt-get install -y --no-install-recommends --fix-missin
libgl1-mesa-glx \
libjemalloc-dev \
vim \
libcairo2
libcairo2 \
poppler-utils \
tesseract-ocr

RUN useradd -m -s /bin/bash user && \
mkdir -p /home/user && \
Expand Down

0 comments on commit 9397522

Please sign in to comment.