Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
@@ -9,6 +9,9 @@ USER root
|
|
9 |
RUN mkdir -p /qdrant/storage /qdrant/snapshots && \
|
10 |
chown -R 1000:1000 /qdrant
|
11 |
|
|
|
|
|
|
|
12 |
# Switch back to the non-root user
|
13 |
USER 1000
|
14 |
|
@@ -19,4 +22,4 @@ EXPOSE 6333 6334
|
|
19 |
WORKDIR /qdrant
|
20 |
|
21 |
# Use the entrypoint script to start Qdrant
|
22 |
-
ENTRYPOINT ["./entrypoint.sh"]
|
|
|
9 |
RUN mkdir -p /qdrant/storage /qdrant/snapshots && \
|
10 |
chown -R 1000:1000 /qdrant
|
11 |
|
12 |
+
# Create a custom config file
|
13 |
+
COPY config.yaml /qdrant/config/production.yaml
|
14 |
+
|
15 |
# Switch back to the non-root user
|
16 |
USER 1000
|
17 |
|
|
|
22 |
WORKDIR /qdrant
|
23 |
|
24 |
# Use the entrypoint script to start Qdrant
|
25 |
+
ENTRYPOINT ["./entrypoint.sh"]
|