From 4623a52bcc3ec15e5da500d0ff60cf48758771ec Mon Sep 17 00:00:00 2001 From: Matthias Guillitte Date: Tue, 1 Jul 2025 11:09:14 +0200 Subject: [PATCH] Fix tesseract dependencies --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 70334c6..16184ca 100644 --- a/Dockerfile +++ b/Dockerfile @@ -63,8 +63,8 @@ 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 +RUN wget --no-check-certificate https://github.com/tesseract-ocr/tessdata/raw/refs/heads/main/eng.traineddata -P /usr/share/tessdata \ + && wget --no-check-certificate https://github.com/tesseract-ocr/tessdata/raw/refs/heads/main/fra.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