mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-11 03:38:38 +00:00
* feat(lens): coordinate worker versions and bundled installs * test(lens): exercise bundled Compose startup and restart in CI * fix(lens): refund failed model requests without a response * test(lens): verify trace persistence in the bundled stack * fix(lens): align Helm images and isolate Compose storage * fix(lens): reject worker builds without release identity * fix(lens): encode Compose credentials and normalize worker versions * fix(lens): refuse worker recommendations for unidentified builds
10 lines
566 B
Docker
10 lines
566 B
Docker
FROM python:3.12-slim
|
|
ARG LITELLM_RELEASE_TAG=""
|
|
RUN : "${LITELLM_RELEASE_TAG:?Pass --build-arg LITELLM_RELEASE_TAG matching the gateway}"
|
|
ENV LITELLM_RELEASE_TAG=${LITELLM_RELEASE_TAG}
|
|
WORKDIR /app
|
|
RUN pip install --no-cache-dir httpx==0.28.1 pydantic==2.11.7
|
|
COPY litellm/proxy/lens/__init__.py litellm/proxy/lens/models.py litellm/proxy/lens/trace_store.py litellm/proxy/lens/analysis.py litellm/proxy/lens/worker.py litellm/proxy/lens/release.py /app/lens/
|
|
COPY litellm/proxy/lens/prompts/ /app/lens/prompts/
|
|
USER 65532:65532
|
|
CMD ["python", "-m", "lens.worker"]
|