File size: 311 Bytes
6bfcafa
 
 
 
 
 
 
1
2
3
4
5
6
7
8
FROM python:3.12-slim-bookworm
RUN apt-get update && apt-get install -y --no-install-recommends \
    poppler-utils tesseract-ocr curl git nodejs npm \
    && rm -rf /var/lib/apt/lists/*
RUN pip install --no-cache-dir pymupdf==1.26.6 pypdf==6.4.0 pillow==12.0.0
WORKDIR /app
COPY document.pdf schema.json /app/