FROM python:3.10 RUN apt-get update && \ apt-get install -y poppler-utils tesseract-ocr tesseract-ocr-hin && \ pip install --no-cache-dir fastapi uvicorn pytesseract pillow pdf2image python-multipart COPY . /app WORKDIR /app CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]