justmotes commited on
Commit
edff491
·
verified ·
1 Parent(s): a530084

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +15 -0
Dockerfile ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use the official Qdrant image
2
+ FROM qdrant/qdrant:latest
3
+
4
+ # Hugging Face Spaces expects the app to run on port 7860
5
+ # We configure Qdrant to listen on 7860 instead of 6333
6
+ ENV QDRANT__SERVICE__HTTP_PORT=7860
7
+
8
+ # SECURITY: Set your API Key here (Change 'my_secret_key' to something hard!)
9
+ ENV QDRANT__SERVICE__API_KEY="xvector_secret_pass_123"
10
+
11
+ # Expose the port (Hugging Face needs this)
12
+ EXPOSE 7860
13
+
14
+ # Run Qdrant
15
+ CMD ["./qdrant"]