ppsingh commited on
Commit
8b04bf8
·
verified ·
1 Parent(s): 93e6a9b

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +15 -0
Dockerfile ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use the official Qdrant Docker image
2
+ FROM qdrant/qdrant:v1.15.3
3
+
4
+ # The Qdrant container expects its data to be stored in /qdrant/storage
5
+ # When persistent storage is enabled on Hugging Face Spaces,
6
+ # the /data directory is mounted as a persistent volume.
7
+ # We need to tell Qdrant to use a path within /data for its storage.
8
+ # We'll do this by setting an environment variable that Qdrant recognizes.
9
+ ENV QDRANT__STORAGE__STORAGE_PATH="/qdrant_data"
10
+
11
+ ENV QDRANT__STORAGE__SNAPSHOTS_PATH="/qdrant_snapshots"
12
+
13
+ # Expose the default Qdrant ports (HTTP/REST and gRPC)
14
+ EXPOSE 6333
15
+ EXPOSE 6334