davanstrien HF Staff commited on
Commit
8bd8a4c
·
verified ·
1 Parent(s): d277082

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -5
Dockerfile CHANGED
@@ -2,13 +2,15 @@
2
  FROM qdrant/qdrant:latest
3
 
4
  # Set environment variables
5
- # ENV QDRANT_CONFIG_PATH=/qdrant/config/production.yaml
6
 
7
  # Expose the necessary ports
8
  EXPOSE 6333 6334
9
 
10
- # Set the entry point to run Qdrant
11
- ENTRYPOINT ["/qdrant/entrypoint.sh"]
12
 
13
- # Use the default command to start Qdrant
14
- CMD ["./qdrant"]
 
 
 
2
  FROM qdrant/qdrant:latest
3
 
4
  # Set environment variables
5
+ ENV QDRANT_CONFIG_PATH=/qdrant/config/production.yaml
6
 
7
  # Expose the necessary ports
8
  EXPOSE 6333 6334
9
 
10
+ # Set the working directory
11
+ WORKDIR /qdrant
12
 
13
+ # Use the entrypoint script to start Qdrant
14
+ ENTRYPOINT ["./entrypoint.sh"]
15
+
16
+ # Remove the CMD instruction as the entrypoint script already starts Qdrant