Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8a9e77e

Browse files
authored
fix(adk,a2a): delete directories created during the installation (#63)
Makes the ADK web ui have a single option to select the agents, which also preselects it.
1 parent f2460ed commit 8a9e77e

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

a2a/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ WORKDIR /app
88
COPY pyproject.toml uv.lock ./
99
RUN --mount=type=cache,target=/root/.cache/uv \
1010
UV_COMPILE_BYTECODE=1 UV_LINK_MODE=copy \
11-
uv pip install --system .
11+
uv pip install --system . && \
12+
rm -fr build dist *.egg-info
1213
COPY main.py src ./
1314
RUN python -m compileall -q .
1415

adk/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ WORKDIR /app
99
COPY pyproject.toml uv.lock ./
1010
RUN --mount=type=cache,target=/root/.cache/uv \
1111
UV_COMPILE_BYTECODE=1 UV_LINK_MODE=copy \
12-
uv pip install --system .
12+
uv pip install --system . && \
13+
rm -fr build dist *.egg-info
1314
# Copy application code
1415
COPY agents/ ./agents/
1516
RUN python -m compileall -q .

0 commit comments

Comments
 (0)