Spaces:
Paused
Paused
Download Dockerfile from imkrish/rag-qa-system: direct link, hf CLI and curl.
- Browser
- Download file 355 Bytes
-
https://huggingface.co/spaces/imkrish/rag-qa-system/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/imkrish/rag-qa-system/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/imkrish/rag-qa-system/resolve/main/Dockerfile
355 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Install system deps for OCR | |
| RUN apt-get update && apt-get install -y \ | |
| tesseract-ocr \ | |
| poppler-utils \ | |
| && rm -rf /var/lib/apt/lists/* | |
| COPY . . | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"] |