diff --git a/photo-ai/Dockerfile b/photo-ai/Dockerfile index aef3a4c..2680577 100644 --- a/photo-ai/Dockerfile +++ b/photo-ai/Dockerfile @@ -21,7 +21,8 @@ RUN --mount=type=cache,target=/root/.cache/pip,sharing=locked \ pip install "typing-extensions==4.12.2" "numpy==2.2.6" RUN --mount=type=cache,target=/root/.cache/pip,sharing=locked \ - pip install torch torchvision --index-url ${TORCH_INDEX} + pip install --timeout 120 --retries 15 --resume-retries 50 \ + torch torchvision --index-url ${TORCH_INDEX} RUN --mount=type=cache,target=/root/.cache/pip,sharing=locked \ pip install --upgrade setuptools wheel && \