Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +7 -5
Dockerfile
CHANGED
|
@@ -2,13 +2,15 @@
|
|
| 2 |
FROM qdrant/qdrant:latest
|
| 3 |
|
| 4 |
# Set environment variables
|
| 5 |
-
|
| 6 |
|
| 7 |
# Expose the necessary ports
|
| 8 |
EXPOSE 6333 6334
|
| 9 |
|
| 10 |
-
# Set the
|
| 11 |
-
|
| 12 |
|
| 13 |
-
# Use the
|
| 14 |
-
|
|
|
|
|
|
|
|
|
| 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
|