From 8ab097ca1c62b9cd7b914eeb5bba384f02028b29 Mon Sep 17 00:00:00 2001 From: Matthias Guillitte Date: Tue, 1 Jul 2025 11:08:20 +0200 Subject: [PATCH] Install Tesseract dependencies --- Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index 8ad7c49..70334c6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -61,6 +61,11 @@ RUN apk update && apk add --no-cache \ RUN docker-php-ext-configure zip && docker-php-ext-install zip RUN docker-php-ext-install gd pdo pdo_mysql zip +# Tesseract-OCR module downloads +# Based on https://github.com/Franky1/docker-tesseract/blob/master/Dockerfile.main +RUN wget --no-check-certificate https://github.com/tesseract-ocr/tessdata/raw/3.04.00/eng.traineddata -P /usr/share/tessdata \ + && wget --no-check-certificate https://github.com/tesseract-ocr/tessdata/raw/3.04.00/fre.traineddata -P /usr/share/tessdata + # Install latest version of the linux binary of yt-dlp into /bin/yt-dlp # Get the file from https://github.com/yt-dlp/yt-dlp-master-builds/releases/latest/download/yt-dlp RUN curl -L https://github.com/yt-dlp/yt-dlp-master-builds/releases/latest/download/yt-dlp -o /bin/yt-dlp \