From b389a27f160bcbdb8e80d920fdf651e4a2bf89ac Mon Sep 17 00:00:00 2001 From: UrloMythus Date: Tue, 16 Sep 2025 11:17:35 +0200 Subject: [PATCH] Updated Dockerfile to support ES --- Dockerfile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Dockerfile b/Dockerfile index 8769aca..af3ba44 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,15 @@ FROM python:3.11-slim-bullseye WORKDIR /app ADD . /app + +RUN apt-get update && \ + apt-get install -y tesseract-ocr libtesseract-dev && \ + apt-get clean && \ + rm -rf /var/lib/apt/lists/* + RUN pip install --no-cache-dir -r requirements.txt +RUN pip install --no-cache-dir pytesseract + EXPOSE 8080 # Run run.py when the container launches