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]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
fix(docker): restore litellm-proxy-extras source dir in runtime images (#33592)
yuneng-jiang111d447e1b60
diff --git a/Dockerfile b/Dockerfileindex bc0e6a5ca6f..581d1808f0a 100644--- a/Dockerfile+++ b/Dockerfile@@ -114,6 +114,7 @@ COPY --from=builder /app/litellm/proxy/prisma_migration.py /app/litellm/proxy/pr# working directory on sys.path; litellm/proxy/hooks resolves# enterprise.enterprise_hooks from it)COPY --from=builder /app/enterprise /app/enterprise+COPY --from=builder /app/litellm-proxy-extras /app/litellm-proxy-extras# Prisma binaries live in $HOME/.cache (default prisma-python location),# which is /root/.cache here. Copy only the Prisma subdirs — copying the# whole /root/.cache drags in the uv build cache (~660 MB, includes adiff --git a/docker/Dockerfile.database b/docker/Dockerfile.databaseindex 4564ee403fe..868b6682276 100644--- a/docker/Dockerfile.database+++ b/docker/Dockerfile.database@@ -111,6 +111,7 @@ COPY --from=builder /app/litellm/proxy/prisma_migration.py /app/litellm/proxy/pr# working directory on sys.path; litellm/proxy/hooks resolves# enterprise.enterprise_hooks from it)COPY --from=builder /app/enterprise /app/enterprise+COPY --from=builder /app/litellm-proxy-extras /app/litellm-proxy-extras# Prisma binaries live in $HOME/.cache (default prisma-python location),# which is /root/.cache here. Copy them from the builder so they survive# deployments that volume-mount /app/.cache (e.g. readOnlyRootFilesystemdiff --git a/docker/Dockerfile.non_root b/docker/Dockerfile.non_rootindex 1883e87be60..839f5da565c 100644--- a/docker/Dockerfile.non_root+++ b/docker/Dockerfile.non_root@@ -137,6 +137,7 @@ COPY --from=builder /app/litellm/proxy/prisma_migration.py /app/litellm/proxy/pr# working directory on sys.path; litellm/proxy/hooks resolves# enterprise.enterprise_hooks from it)COPY --from=builder /app/enterprise /app/enterprise+COPY --from=builder /app/litellm-proxy-extras /app/litellm-proxy-extrasCOPY --from=builder /app/.cache /app/.cacheCOPY --from=builder /var/lib/litellm/ui /var/lib/litellm/uiCOPY --from=builder /var/lib/litellm/assets /var/lib/litellm/assets