chatfed_QdrantServer / Dockerfile
ppsingh's picture
Update Dockerfile
5f38389 verified
raw
history blame contribute delete
597 Bytes
# 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