From 706a2d9219627531fa1665ec02c4030ac1bb8f3a Mon Sep 17 00:00:00 2001 From: Aaron Riedel Date: Tue, 5 Jul 2022 10:26:44 +0200 Subject: [PATCH] add tesseract languages GERMAN and ENGLISH --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 8cfd3c2..e8b30c9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,2 +1,4 @@ FROM amd64/nextcloud:24.0.2-fpm RUN apt-get update && apt-get install -y libmagickcore-6.q16-6-extra tesseract-ocr && apt-get clean autoclean && apt-get autoremove -y +ADD https://raw.githubusercontent.com/tesseract-ocr/tessdata/main/deu.traineddata /usr/share/tesseract-ocr/tessdata/ +ADD https://raw.githubusercontent.com/tesseract-ocr/tessdata/main/eng.traineddata /usr/share/tesseract-ocr/tessdata/ \ No newline at end of file