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]

(docs) add instructions on how to contribute to docker image

Ishaan Jaff310669e3bc10
diff --git a/README.md b/README.md
index e13732000e9..153d5ab3a04 100644
--- a/README.md
+++ b/README.md
@@ -305,6 +305,36 @@ Step 4: Submit a PR with your changes! 🚀
- push your fork to your GitHub repo
- submit a PR from there
+### Building LiteLLM Docker Image
+
+Follow these instructions if you want to build / run the LiteLLM Docker Image yourself.
+
+Step 1: Clone the repo
+
+```
+git clone https://github.com/BerriAI/litellm.git
+```
+
+Step 2: Build the Docker Image
+
+Build using Dockerfile.non_root
+```
+docker build -f docker/Dockerfile.non_root -t litellm_test_image .
+```
+
+Step 3: Run the Docker Image
+
+Make sure config.yaml is present in the root directory. This is your litellm proxy config file.
+```
+docker run \
+ -v $(pwd)/proxy_config.yaml:/app/config.yaml \
+ -e DATABASE_URL="postgresql://xxxxxxxx" \
+ -e LITELLM_MASTER_KEY="sk-1234" \
+ -p 4000:4000 \
+ litellm_test_image \
+ --config /app/config.yaml --detailed_debug
+```
+
# Enterprise
For companies that need better security, user management and professional support