š³ LiteLLM proxy + extra tools
4.0K
š LiteLLM Proxy with preinstalled pip and Pillow.
š¹ f3l1x.ioā | š» f3l1xā | š¦ @xf3l1xā
LiteLLMā Proxy with pip and Pillowā added to the
application virtualenv. The upstream image is built on Wolfi and ships a virtualenv at /app/.venv without pip.
LiteLLM imports Pillow for image handling (Bedrock, Vertex AI and Ollama), but does not install it. There is also no HTTP
client. This image fills all three gaps.
v1.108.2/app/.venv)pip installed and upgraded, so you can add packages at runtimecurl installed/health/liveliness, done with curldocker run --rm -it \
-p 4000:4000 \
-e LITELLM_MASTER_KEY=sk-1234 \
dockette/litellm:latest
# With a configuration file
docker run --rm -it \
-p 4000:4000 \
-e LITELLM_MASTER_KEY=sk-1234 \
-v $(pwd)/config.yaml:/app/config.yaml \
dockette/litellm:latest \
--config /app/config.yaml --port 4000
# Add more Python packages at runtime
docker exec -it <container> /app/.venv/bin/python -m pip install <package>
LITELLM_MASTER_KEY - master key of the proxyPORT - port used by the healthcheck, 4000 by defaultThe default command is --port 4000. This argument wins over PORT. Set both if you change the port.
The working directory is /app. The user is root, same as upstream.
| Version | Release |
|---|---|
dockette/litellm:v1.108.2-YYYY.MM.DD | LiteLLM v1.108.2 in release YYYY.MM.DD; pin this one |
dockette/litellm:v1.108.2 | latest release with LiteLLM v1.108.2 |
dockette/litellm:YYYY.MM.DD | release YYYY.MM.DD |
dockette/litellm:latest | latest build of master |
All versions build on ghcr.io/berriai/litellm:v1.108.2. Pillow is installed at build time and is not pinned, so a
rebuild can ship a newer Pillow. Releases are listed on GitHubā .
make build # build the image
make test # check curl, pip, Pillow, codecs and LiteLLM
make test-docker # start the image and check the proxy
make run # run the proxy on port 14000
make shell # open a shell in the image
make push # build and push linux/amd64 and linux/arm64
make version # print VERSION
make release # set today's date in VERSION
# Build against another LiteLLM release
make build LITELLM_VERSION=v1.97.0
See how to contributeā to this package. Consider to supportā f3l1x. Thank you for using this package.
Content type
Image
Digest
sha256:957fe7250ā¦
Size
417 MB
Last updated
1 day ago
docker pull dockette/litellmPulls:
419
Oct 26 to Nov 1