qdrant_test / Dockerfile
davanstrien's picture
davanstrien HF Staff
Update Dockerfile
c673521 verified
raw
history blame
510 Bytes
# Use the official Qdrant image as a base
FROM qdrant/qdrant:latest
# Set environment variables
ENV QDRANT_CONFIG_PATH=/qdrant/config/production.yaml
# Create necessary directories and set permissions
USER root
RUN mkdir -p /qdrant/storage /qdrant/snapshots && \
chown -R 1000:1000 /qdrant
# Switch back to the non-root user
USER 1000
# Expose the necessary ports
EXPOSE 6333 6334
# Set the working directory
WORKDIR /qdrant
# Use the entrypoint script to start Qdrant
ENTRYPOINT ["./entrypoint.sh"]