FROM python:3.12-slim RUN apt-get update && apt-get install -y --no-install-recommends \ tesseract-ocr \ tesseract-ocr-deu \ && rm -rf /var/lib/apt/lists/* RUN pip install --no-cache-dir \ opencv-python-headless==4.10.0.84 \ numpy==2.1.3 \ pillow==11.0.0 \ pytesseract==0.3.13 \ requests==2.32.3 \ odfpy==1.4.1 COPY src/ /opt/app/src/ RUN chmod -R a+rX /opt/app/src WORKDIR /data ENTRYPOINT []