diff --git a/services/ingest-file/Dockerfile b/services/ingest-file/Dockerfile index 4398fd226d..4741320de9 100644 --- a/services/ingest-file/Dockerfile +++ b/services/ingest-file/Dockerfile @@ -77,7 +77,9 @@ RUN apt-get -qq -y update \ RUN apt-get -qq -y update \ && apt-get -q -y install build-essential locales ca-certificates \ # python deps (mostly to install their dependencies) - python3-pip python3-dev python3-pil python3-tesserocr \ + python3-pip python3-dev python3-pil \ + # tesseract + tesseract-ocr libtesseract-dev libleptonica-dev pkg-config\ # libraries libxslt1-dev libpq-dev libldap2-dev libsasl2-dev \ zlib1g-dev libicu-dev libxml2-dev \ diff --git a/services/ingest-file/requirements.txt b/services/ingest-file/requirements.txt index 8a3bb54793..26fc4a5070 100644 --- a/services/ingest-file/requirements.txt +++ b/services/ingest-file/requirements.txt @@ -12,6 +12,8 @@ grpcio==1.24.3 google-cloud-vision==0.39.0 google-cloud-storage==1.21.0 +tesserocr==2.4.1 + # Development nose==1.3.7 click==7.0