Text_extraction / Dockerfile
gopichandra's picture
Update Dockerfile
7d5f22a verified
raw
history blame contribute delete
331 Bytes
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"]