FROM python:3.9 # Install Tesseract OCR RUN apt-get update && apt-get install -y \ tesseract-ocr \ libtesseract-dev \ pkg-config \ && rm -rf /var/lib/apt/lists/* # Copy your app files COPY . /app WORKDIR /app # Install Python dependencies RUN pip install --no-cache-dir -r requirements.txt # Run your Gradio app CMD ["gradio", "app.py"]