Skip to content

Commit b4c1afc

Browse files
committed
fix build error
1 parent 4761dba commit b4c1afc

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,9 @@ RUN set -ex && \
4141
# Verify uv installation and show version
4242
# Install dependencies using uv
4343
python3 -m venv $VENV_PATH && \
44-
# uv sync --frozen --no-dev && \
45-
uv sync --frozen --no-dev --python /opt/venv/bin/python && \
44+
# Set VIRTUAL_ENV to tell uv which venv to use
45+
export VIRTUAL_ENV=$VENV_PATH && \
46+
uv sync --frozen --no-dev && \
4647
# Remove build dependencies to reduce image size
4748
apk del \
4849
rust \

0 commit comments

Comments
 (0)