Spaces:
Sleeping
Sleeping
Download Dockerfile from dev-models/MultiModel-Rag: direct link, hf CLI and curl.
- Browser
- Download file 568 Bytes
-
https://huggingface.co/spaces/dev-models/MultiModel-Rag/resolve/e52c8f51130583e6bbe9f4b699ae418a3eef4aa8/Dockerfile
- Command line
-
hf download hf://spaces/dev-models/MultiModel-Rag@e52c8f51130583e6bbe9f4b699ae418a3eef4aa8/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/dev-models/MultiModel-Rag/resolve/e52c8f51130583e6bbe9f4b699ae418a3eef4aa8/Dockerfile
568 Bytes
| FROM python:3.10-slim | |
| ENV PYTHONDONTWRITEBYTECODE=1 | |
| ENV PYTHONUNBUFFERED=1 | |
| WORKDIR /app | |
| # Install system dependencies | |
| RUN apt-get update && apt-get install -y \ | |
| tesseract-ocr \ | |
| tesseract-ocr-eng \ | |
| poppler-utils \ | |
| libgl1 \ | |
| libglib2.0-0 \ | |
| build-essential \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # Install Python dependencies | |
| COPY requirements.txt . | |
| RUN pip install --upgrade pip && \ | |
| pip install -r requirements.txt | |
| # Copy app code | |
| COPY . . | |
| EXPOSE 7860 | |
| CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"] | |