fix(ci): устойчивость сборки worker-indexer к медленному/флоки pypi
Some checks failed
Deploy / deploy (push) Failing after 19m48s

Деплой падал: buildx с холодным кэшем делает полный pip install, а канал до
pypi.org медленный и с таймаутами → сборка не завершалась. Добавил
--timeout 120 --retries 10. Первый успешный build также прогреет buildx-кэш,
дальше пересборки по коду будут быстрыми (только слой COPY).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
jze9
2026-08-07 15:13:37 +05:00
parent 9b7becf4d1
commit c4596f2c3a

View File

@@ -13,7 +13,8 @@ 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
# --timeout/--retries: канал до pypi медленный и флоки, без этого сборка падает
RUN pip install --no-cache-dir --timeout 120 --retries 10 -r requirements.txt
COPY . .