Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

add debian fixes to non root image

Ishaan Jaff4df9aca45e64
diff --git a/Dockerfile.non_root b/Dockerfile.non_root
index 847df4a576c..464f9c2c737 100644
--- a/Dockerfile.non_root
+++ b/Dockerfile.non_root
@@ -38,6 +38,9 @@ RUN pip wheel --no-cache-dir --wheel-dir=/wheels/ -r requirements.txt
# Runtime stage
FROM $LITELLM_RUNTIME_IMAGE AS runtime
+# Update dependencies and clean up - handles debian security issue
+RUN apt-get update && apt-get upgrade -y && rm -rf /var/lib/apt/lists/*
+
WORKDIR /app
# Copy the current directory contents into the container at /app
COPY . .