Skip to content

Commit 449d4e0

Browse files
authored
Merge pull request #155 from rh-ai-quickstart/release/v0.2.35
Release v0.2.35
2 parents a26e592 + f6f0d76 commit 449d4e0

3 files changed

Lines changed: 19 additions & 18 deletions

File tree

deploy/helm/rag/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apiVersion: v2
22
name: rag
33
description: A Helm chart for Kubernetes
44
type: application
5-
version: 0.2.34
6-
appVersion: "0.2.34"
5+
version: 0.2.35
6+
appVersion: "0.2.35"
77

88
dependencies:
99
- name: pgvector

deploy/helm/rag/values.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ replicaCount: 1
33
image:
44
repository: quay.io/rh-ai-quickstart/llamastack-dist-ui
55
pullPolicy: Always
6-
tag: 0.2.34
6+
tag: 0.2.35
77

88
service:
99
type: ClusterIP
@@ -16,11 +16,15 @@ livenessProbe:
1616
httpGet:
1717
path: /
1818
port: http
19+
initialDelaySeconds: 60
20+
timeoutSeconds: 15
1921

2022
readinessProbe:
2123
httpGet:
2224
path: /
2325
port: http
26+
initialDelaySeconds: 30
27+
timeoutSeconds: 15
2428

2529
env:
2630
- name: LLAMA_STACK_ENDPOINT

frontend/Containerfile

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,30 +5,27 @@ FROM python:3.12-slim
55

66
WORKDIR /app
77

8-
# Install uv first (rarely changes)
9-
RUN pip install uv
8+
# Install only runtime dependencies at build time.
9+
ENV PIP_NO_CACHE_DIR=1 \
10+
PYTHONDONTWRITEBYTECODE=1 \
11+
PYTHONUNBUFFERED=1
1012

11-
# Copy dependency file first (for better caching)
13+
# Copy dependency metadata first for better layer caching.
1214
COPY pyproject.toml ./
1315

14-
# Install dependencies only (cached unless pyproject.toml changes)
15-
RUN uv pip install --system -r pyproject.toml
16+
# Install dependencies into system site-packages during build.
17+
RUN pip install --no-cache-dir uv && \
18+
uv pip install --system -r pyproject.toml && \
19+
pip uninstall -y uv && \
20+
rm -rf /root/.cache/uv /root/.cache/pip
1621

17-
# Copy application code (invalidates cache only on code changes)
22+
# Copy the rest of the application source.
1823
COPY . /app/
1924

20-
# Set UV cache directory to a writable location
21-
ENV UV_CACHE_DIR=/app/.uv-cache
22-
ENV XDG_CACHE_HOME=/app/.cache
23-
24-
# Create cache directories with proper permissions
25-
RUN mkdir -p /app/.uv-cache /app/.cache && \
26-
chmod -R 777 /app/.uv-cache /app/.cache
27-
2825
# Ensure all app files have proper ownership and permissions for non-root users
2926
RUN chown -R 1001:0 /app && \
3027
chmod -R g+rwX /app
3128

3229
EXPOSE 8501
3330

34-
ENTRYPOINT ["uv", "run", "streamlit", "run", "/app/llama_stack_ui/distribution/ui/app.py", "--server.port=8501", "--server.address=0.0.0.0"]
31+
ENTRYPOINT ["python", "-m", "streamlit", "run", "/app/llama_stack_ui/distribution/ui/app.py", "--server.port=8501", "--server.address=0.0.0.0"]

0 commit comments

Comments
 (0)