mirror of
https://github.com/BerriAI/litellm.git
synced 2026-08-28 05:25:59 +00:00
* build: make rust ai-gateway Dockerfile config.yaml-based (repo-root context) * build: add dockerignore to shrink repo-root context for ai-gateway * build: add sample realtime config.yaml for rust ai-gateway * build: point ai-gateway render blueprint at config.yaml + repo-root context * docs: document config.yaml as primary path for rust ai-gateway * build: run rust ai-gateway container as non-root user * ci: re-trigger flaky otel fake-openai-endpoint cooldown
45 lines
1.5 KiB
Text
45 lines
1.5 KiB
Text
# Dockerfile-specific ignore-file for the Rust AI Gateway build.
|
|
#
|
|
# The build context is the repo root (so the image can pip install litellm from
|
|
# source AND build the rust workspace). BuildKit honors `<Dockerfile>.dockerignore`
|
|
# next to the Dockerfile and it takes precedence over the repo-root `.dockerignore`,
|
|
# so this file shrinks the (large) repo-root context for THIS build only without
|
|
# touching the root `.dockerignore` used by the main litellm images.
|
|
#
|
|
# Strategy: ignore everything, then re-include only what the build needs:
|
|
# - litellm/ (pip install . needs the full package + proxy reader)
|
|
# - litellm-rust/ (the rust workspace; Cargo.lock + crate sources)
|
|
# - pyproject.toml / README.md / LICENSE (packaging metadata for pip install)
|
|
*
|
|
|
|
# --- re-include the build inputs ---
|
|
!litellm/
|
|
!litellm-rust/
|
|
!pyproject.toml
|
|
!README.md
|
|
!LICENSE
|
|
|
|
# --- prune heavy / irrelevant subpaths back out of the re-included trees ---
|
|
# Rust build artifacts (huge; regenerated in the builder).
|
|
**/target/
|
|
# Python caches and compiled bytecode.
|
|
**/__pycache__/
|
|
**/*.pyc
|
|
**/*.pyo
|
|
**/.pytest_cache/
|
|
**/.ruff_cache/
|
|
**/.mypy_cache/
|
|
# Node / UI build output bundled under the python package (not needed to import
|
|
# litellm.proxy.read_model_list).
|
|
**/node_modules/
|
|
litellm/proxy/_experimental/out/
|
|
# Tests, logs, and local scratch.
|
|
**/tests/
|
|
**/test/
|
|
*.log
|
|
log.txt
|
|
*.tgz
|
|
# VCS / editor / CI metadata that may live under re-included trees.
|
|
**/.git/
|
|
.git/
|
|
**/.DS_Store
|