diff --git a/services/api/Dockerfile b/services/api/Dockerfile index 063ecad..f13307a 100644 --- a/services/api/Dockerfile +++ b/services/api/Dockerfile @@ -10,7 +10,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ && rm -rf /var/lib/apt/lists/* COPY requirements.txt . -RUN pip install --no-cache-dir -r requirements.txt +RUN pip install --no-cache-dir --timeout 60 -i https://pypi.tuna.tsinghua.edu.cn/simple/ -r requirements.txt COPY . . diff --git a/services/worker-gost/Dockerfile b/services/worker-gost/Dockerfile index eaa969a..64320b8 100644 --- a/services/worker-gost/Dockerfile +++ b/services/worker-gost/Dockerfile @@ -8,7 +8,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ WORKDIR /app COPY requirements.txt . -RUN pip install --no-cache-dir -r requirements.txt +RUN pip install --no-cache-dir --timeout 60 -i https://pypi.tuna.tsinghua.edu.cn/simple/ -r requirements.txt COPY . . diff --git a/services/worker-gpu/Dockerfile b/services/worker-gpu/Dockerfile index 99167d0..71846cb 100644 --- a/services/worker-gpu/Dockerfile +++ b/services/worker-gpu/Dockerfile @@ -21,7 +21,7 @@ RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 1 WORKDIR /app COPY requirements.txt . -RUN pip install --no-cache-dir -r requirements.txt +RUN pip install --no-cache-dir --timeout 60 -i https://pypi.tuna.tsinghua.edu.cn/simple/ -r requirements.txt COPY . . diff --git a/services/worker-indexer/Dockerfile b/services/worker-indexer/Dockerfile index fa67137..2931a23 100644 --- a/services/worker-indexer/Dockerfile +++ b/services/worker-indexer/Dockerfile @@ -13,7 +13,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ WORKDIR /app COPY requirements.txt . -RUN pip install --no-cache-dir -r requirements.txt +RUN pip install --no-cache-dir --timeout 60 -i https://pypi.tuna.tsinghua.edu.cn/simple/ -r requirements.txt COPY . . diff --git a/services/worker-notifier/Dockerfile b/services/worker-notifier/Dockerfile index 32887a8..08965cf 100644 --- a/services/worker-notifier/Dockerfile +++ b/services/worker-notifier/Dockerfile @@ -8,7 +8,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ WORKDIR /app COPY requirements.txt . -RUN pip install --no-cache-dir -r requirements.txt +RUN pip install --no-cache-dir --timeout 60 -i https://pypi.tuna.tsinghua.edu.cn/simple/ -r requirements.txt COPY . .