aima_chatbot / Dockerfile
aimanathar's picture
Update Dockerfile
a15eb66 verified
raw
history blame contribute delete
543 Bytes
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