Skip to content

Commit 0b99fbc

Browse files
fix(agent): install webui deps via uv pip (venv has no pip binary)
Co-authored-by: Venkat SF <venkatesh.sakamuri@stayflexi.com>
1 parent 6197399 commit 0b99fbc

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

agent/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,11 @@ RUN git clone --depth 1 --branch "${AGENT_RUNTIME_REF}" "${AGENT_RUNTIME_REPO}"
5656

5757
# HTTP API surface the frontend / backend talk to (:8787).
5858
# Default branch is master (not main). Fall back to HEAD if the ref moves.
59-
RUN git clone --depth 1 --branch "${AGENT_API_REF}" "${AGENT_API_REPO}" api \
60-
|| git clone --depth 1 "${AGENT_API_REPO}" api \
59+
RUN (git clone --depth 1 --branch "${AGENT_API_REF}" "${AGENT_API_REPO}" api \
60+
|| git clone --depth 1 "${AGENT_API_REPO}" api) \
6161
&& cd api \
6262
&& if [ -f requirements.txt ]; then \
63-
/opt/deepsql-agent/runtime/venv/bin/pip install -r requirements.txt; \
63+
UV_NO_CONFIG=1 uv pip install --python /opt/deepsql-agent/runtime/venv/bin/python -r requirements.txt; \
6464
fi
6565

6666
# DeepSQL product surface — persona, skills, branding, MCP, provisioner.

0 commit comments

Comments
 (0)