Spaces:
Paused
Paused
Download Dockerfile from Durga-7780/chatbot: direct link, hf CLI and curl.
- Browser
- Download file 507 Bytes
-
https://huggingface.co/spaces/Durga-7780/chatbot/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Durga-7780/chatbot/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Durga-7780/chatbot/resolve/main/Dockerfile
507 Bytes
| FROM python:3.11-slim | |
| ENV PYTHONUNBUFFERED=1 | |
| # Install system dependencies | |
| RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \ | |
| ffmpeg \ | |
| poppler-utils \ | |
| tesseract-ocr \ | |
| libtesseract-dev \ | |
| curl \ | |
| build-essential \ | |
| && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| COPY requirements.txt /app/requirements.txt | |
| RUN pip install --upgrade pip setuptools wheel | |
| RUN pip install --no-cache-dir -r /app/requirements.txt | |
| COPY . /app | |
| EXPOSE 7860 | |
| CMD ["python3", "app.py"] | |