Skip to content

Commit 2a0e417

Browse files
committed
use llama-stack from pyproject
1 parent 1767d6b commit 2a0e417

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

test.containerfile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ENV PATH="$PATH:/root/.local/bin"
77

88
WORKDIR ${APP_ROOT}
99
COPY run.yaml ./
10-
10+
COPY pyproject.toml uv.lock ./
1111

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

1717
RUN uv -h
1818

19-
RUN uv venv && \
20-
uv pip install llama-stack==0.2.17 \
21-
fastapi \
19+
RUN uv sync --no-install-project --no-dev && \
20+
uv pip install \
2221
opentelemetry-sdk \
2322
opentelemetry-exporter-otlp \
2423
opentelemetry-instrumentation \
2524
aiosqlite \
2625
litellm \
27-
uvicorn \
2826
blobfile \
2927
datasets \
3028
sqlalchemy \

0 commit comments

Comments
 (0)