Unverified Commit 7b639e76 authored by Keiven C's avatar Keiven C Committed by GitHub
Browse files

fix: on a bad network day, uv timeout too easily when building dev/local-dev containers (#5511)


Co-authored-by: default avatarKeiven Chang <keivenchang@users.noreply.github.com>
parent bf19823d
...@@ -345,8 +345,8 @@ RUN git lfs install ...@@ -345,8 +345,8 @@ RUN git lfs install
ARG FRAMEWORK ARG FRAMEWORK
RUN --mount=type=bind,source=./container/deps/requirements.txt,target=/tmp/requirements.txt \ RUN --mount=type=bind,source=./container/deps/requirements.txt,target=/tmp/requirements.txt \
--mount=type=bind,source=./container/deps/requirements.test.txt,target=/tmp/requirements.test.txt \ --mount=type=bind,source=./container/deps/requirements.test.txt,target=/tmp/requirements.test.txt \
UV_GIT_LFS=1 uv pip install \ --mount=type=cache,target=/root/.cache/uv \
--no-cache \ UV_GIT_LFS=1 UV_HTTP_TIMEOUT=300 UV_HTTP_RETRIES=5 uv pip install \
--index-strategy unsafe-best-match \ --index-strategy unsafe-best-match \
--extra-index-url https://download.pytorch.org/whl/cu130 \ --extra-index-url https://download.pytorch.org/whl/cu130 \
--requirement /tmp/requirements.txt \ --requirement /tmp/requirements.txt \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment