Download Dockerfile from Aigenthix/Graph_RAG: direct link, hf CLI and curl.
- Browser
- Download file 524 Bytes
-
https://huggingface.co/spaces/Aigenthix/Graph_RAG/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Aigenthix/Graph_RAG/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Aigenthix/Graph_RAG/resolve/main/Dockerfile
524 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| # Install system dependencies | |
| RUN apt-get update && apt-get install -y \ | |
| gcc g++ \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # Copy requirements and install dependencies | |
| COPY requirements_hf.txt . | |
| RUN pip install --no-cache-dir -r requirements_hf.txt | |
| # Copy application code | |
| COPY app_docker_optimized.py . | |
| COPY backend/ ./backend/ | |
| # Create data directories | |
| RUN mkdir -p data/uploads data/chroma_data | |
| # Expose port | |
| EXPOSE 7860 | |
| # Run application | |
| CMD ["python", "app_docker_optimized.py"] |