Use tesseract 5 again in Docker image

This commit is contained in:
James R. Barlow
2022-08-23 13:39:45 -07:00
parent 2e937dee9f
commit 74286e7e1e

View File

@@ -50,6 +50,11 @@ RUN pip3 install --no-cache-dir .[test,webservice,watcher]
FROM base
# For Tesseract 5
RUN apt-get update && apt-get install -y --no-install-recommends \
software-properties-common
RUN add-apt-repository -y ppa:alex-p/tesseract-ocr-devel
RUN apt-get update && apt-get install -y --no-install-recommends \
ghostscript \
img2pdf \