Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +13 -5
Dockerfile
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
|
|
| 1 |
FROM qdrant/qdrant:latest
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Use the official Qdrant image as a base
|
| 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"]
|