From 8d1ac75775845ead4b72dfa2a70002811b0e7da3 Mon Sep 17 00:00:00 2001 From: boazgarty Date: Sat, 12 Sep 2026 11:05:13 +0300 Subject: [PATCH] fix: install pinned litellm via requirements.txt in Docker build The Dockerfile ran `pip install litellm` unpinned instead of installing from requirements.txt, so the CVE-fix version pin in requirements.txt never actually applied to the built image (flagged by greptile-apps[bot] review on this PR). Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_016iJYxKgKa3XvT14WTDimJG --- cookbook/litellm-ollama-docker-image/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbook/litellm-ollama-docker-image/Dockerfile b/cookbook/litellm-ollama-docker-image/Dockerfile index be237a4df77..04f4cf0ae4d 100644 --- a/cookbook/litellm-ollama-docker-image/Dockerfile +++ b/cookbook/litellm-ollama-docker-image/Dockerfile @@ -20,6 +20,6 @@ COPY . /app # Install any needed packages specified in requirements.txt -RUN python3 -m pip install litellm +RUN python3 -m pip install -r requirements.txt COPY start.sh /start.sh ENTRYPOINT [ "/bin/bash", "/start.sh" ]