Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions test.containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ ENV PATH="$PATH:/root/.local/bin"

WORKDIR ${APP_ROOT}
COPY run.yaml ./
COPY pyproject.toml ./
COPY uv.lock ./
COPY LICENSE ./
COPY README.md ./
COPY src/ ./src/

RUN microdnf install -y --nodocs --setopt=keepcache=0 --setopt=tsflags=nodocs \
python3.12 python3.12-devel python3.12-pip git tar
Expand All @@ -15,15 +20,16 @@ RUN curl -LsSf https://astral.sh/uv/install.sh | sh

RUN uv -h

RUN uv venv && \
uv pip install llama-stack==0.2.17 \
fastapi \
# Install from pyproject.toml using uv sync for version consistency
# Note: using --no-install-project since this is llama-stack container, not lightspeed-stack
# Include dev deps for testing (pytest, behave, etc.)
RUN uv sync --locked --no-install-project && \
uv pip install \
opentelemetry-sdk \
opentelemetry-exporter-otlp \
opentelemetry-instrumentation \
aiosqlite \
litellm \
uvicorn \
blobfile \
datasets \
sqlalchemy \
Expand Down