Spaces:
Sleeping
Sleeping
File size: 543 Bytes
779b3d2 ab952be a15eb66 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | FROM python:3.10-slim
# System packages jo PDFs aur OCR ke liye zaroori hain
RUN apt-get update && apt-get install -y \
tesseract-ocr \
poppler-utils \
&& rm -rf /var/lib/apt/lists/*
# Working directory set karo
WORKDIR /code
# Python dependencies install karo
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Baaki project files copy karo
COPY . .
# Start app
CMD ["python", "app.py"]
RUN apt-get update && apt-get install -y poppler-utils tesseract-ocr
RUN pip install googletrans==4.0.0-rc1
|