FROM qdrant/qdrant:latest
# Install curl, jq for ECS metadata parsing, and wget for health checks
USER root
RUN apt-get update && apt-get install -y curl jq wget && rm -rf /var/lib/apt/lists/*
# Copy custom entrypoint script
COPY entrypoint-cluster.sh /entrypoint-cluster.sh
RUN chmod +x /entrypoint-cluster.sh
# Use custom entrypoint
ENTRYPOINT ["/entrypoint-cluster.sh"]