Spaces:
Runtime error
Runtime error
File size: 597 Bytes
461957d 5f38389 461957d 25cc20f 461957d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
# Use the official Qdrant Docker image
FROM qdrant/qdrant:v1.15.3
# The Qdrant container expects its data to be stored in /qdrant/storage
# When persistent storage is enabled on Hugging Face Spaces,
# the /data directory is mounted as a persistent volume.
# We need to tell Qdrant to use a path within /data for its storage.
# We'll do this by setting an environment variable that Qdrant recognizes.
ENV QDRANT__STORAGE__STORAGE_PATH="/data/qdrant_data"
ENV QDRANT__STORAGE__SNAPSHOTS_PATH="/data/qdrant_snapshots"
# Expose the default Qdrant ports (HTTP/REST and gRPC)
EXPOSE 6333
EXPOSE 6334
|