# Use a base image FROM python:3.9-slim # Install Tesseract RUN apt-get update && apt-get install -y tesseract-ocr # Install Python dependencies COPY requirements.txt . RUN pip install -r requirements.txt # Copy application code COPY . /app WORKDIR /app # Run the app CMD ["python", "app.py"]