mirror of
https://github.com/BerriAI/litellm.git
synced 2026-08-28 05:25:59 +00:00
16 lines
449 B
Text
16 lines
449 B
Text
FROM python:3.11-slim
|
|
|
|
WORKDIR /app
|
|
|
|
# Copy health check script and requirements
|
|
COPY scripts/health_check/health_check_client.py /app/health_check_client.py
|
|
COPY scripts/health_check/health_check_requirements.txt /app/requirements.txt
|
|
|
|
# Install dependencies
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
# Make script executable
|
|
RUN chmod +x /app/health_check_client.py
|
|
|
|
# Set entrypoint
|
|
ENTRYPOINT ["python", "/app/health_check_client.py"]
|