Download Dockerfile from uitatt/qdrant: direct link, hf CLI and curl.
- Browser
- Download file 747 Bytes
-
https://huggingface.co/spaces/uitatt/qdrant/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/uitatt/qdrant/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/uitatt/qdrant/resolve/main/Dockerfile
747 Bytes
| FROM qdrant/qdrant:latest | |
| # Create all required directories with proper permissions | |
| RUN mkdir -p /qdrant/config /qdrant/storage /qdrant/snapshots/tmp && \ | |
| chmod -R 777 /qdrant/storage /qdrant/snapshots /qdrant/config | |
| # Create a configuration file with all necessary paths explicitly defined | |
| RUN echo '{ \ | |
| "service": { \ | |
| "http_port": 7860, \ | |
| "host": "0.0.0.0" \ | |
| }, \ | |
| "storage": { \ | |
| "storage_path": "/qdrant/storage", \ | |
| "snapshots_path": "/qdrant/snapshots" \ | |
| } \ | |
| }' > /qdrant/config/config.yaml | |
| # Set working directory | |
| WORKDIR /qdrant | |
| # Expose both the default Qdrant port and Hugging Face port | |
| EXPOSE 6333 7860 | |
| # Start with custom config | |
| CMD ["/qdrant/entrypoint.sh", "--config-path", "/qdrant/config/config.yaml"] |