Skip to content

Conversation

@yuneng-jiang
Copy link
Collaborator

[Fix] Add User Writable Directory to Non Root Docker for Logo

Relevant issues

The current implementation of logos in the UI relies on writing an image to the current directory. For non-root images, this runs into a permission issue as the user (nobody) does not have permissions to write into site-packages. This PR fixes the issue by introducing a user writable directory in the non-root docker build.

Tested by building changes locally, and verifying get_image no longer throws 500.

Pre-Submission checklist

Please complete all items before asking a LiteLLM maintainer to review your PR

  • I have Added testing in the tests/litellm/ directory, Adding at least 1 test is a hard requirement - see details
  • I have added a screenshot of my new test passing locally
  • My PR passes all unit tests on make test-unit
  • My PR's scope is as isolated as possible, it only solves 1 specific problem

Type

🐛 Bug Fix
✅ Test

Changes

image

@vercel
Copy link

vercel bot commented Nov 27, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
litellm Ready Ready Preview Comment Nov 28, 2025 1:29am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants