From 30b49d8dfa26fa0c07f39b6e7ce59d207fbcea82 Mon Sep 17 00:00:00 2001 From: Jaland Date: Wed, 9 Apr 2025 10:45:15 +0100 Subject: [PATCH] fix: Playground Container Issue (#1868) **What does this PR do?** This PR fixes a build issue with the Containerfile caused by missing requirement `llama-stack`. It updates the Containerfile to include the necessary requirements and upgrades the Python version to ensure successful builds. **Test Plan** The updated Containerfile has been tested, and the build now completes successfully with the required dependencies included. --- llama_stack/distribution/ui/Containerfile | 2 +- llama_stack/distribution/ui/requirements.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/llama_stack/distribution/ui/Containerfile b/llama_stack/distribution/ui/Containerfile index a97f25753..0126d1867 100644 --- a/llama_stack/distribution/ui/Containerfile +++ b/llama_stack/distribution/ui/Containerfile @@ -1,7 +1,7 @@ # More info on playground configuration can be found here: # https://llama-stack.readthedocs.io/en/latest/playground -FROM python:3.9-slim +FROM python:3.12-slim WORKDIR /app COPY . /app/ RUN /usr/local/bin/python -m pip install --upgrade pip && \ diff --git a/llama_stack/distribution/ui/requirements.txt b/llama_stack/distribution/ui/requirements.txt index 39f2b3d27..1e0456267 100644 --- a/llama_stack/distribution/ui/requirements.txt +++ b/llama_stack/distribution/ui/requirements.txt @@ -2,3 +2,4 @@ streamlit pandas llama-stack-client>=0.0.55 streamlit-option-menu +llama-stack>=0.1.9