Spaces:
Runtime error
Runtime error
| FROM python:3.9-slim | |
| # Install Tesseract OCR and required libraries | |
| RUN apt-get update && apt-get install -y tesseract-ocr libtesseract-dev | |
| # Copy application files | |
| COPY . /app | |
| WORKDIR /app | |
| # Install Python dependencies | |
| COPY requirements.txt . | |
| RUN pip install -r requirements.txt | |
| # Run the application | |
| CMD ["python", "app.py"] | |