add pip retries. should help with github's occasional flaky network during build/test (#2506)

This commit is contained in:
rkuo-danswer
2024-09-18 17:46:41 -07:00
committed by GitHub
parent a9403016c9
commit bb279a8580
3 changed files with 8 additions and 1 deletions

View File

@@ -41,6 +41,8 @@ RUN apt-get update && \
COPY ./requirements/default.txt /tmp/requirements.txt
COPY ./requirements/ee.txt /tmp/ee-requirements.txt
RUN pip install --no-cache-dir --upgrade \
--retries 5 \
--timeout 30 \
-r /tmp/requirements.txt \
-r /tmp/ee-requirements.txt && \
pip uninstall -y py && \