mod: вернул борку для ARM64. Добавил очистку кеша poetry
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 3m18s

This commit is contained in:
2026-03-21 16:51:16 +03:00
parent a62e02ddcb
commit a537bc9c37
2 changed files with 5 additions and 2 deletions

View File

@@ -29,6 +29,9 @@ COPY pyproject.toml poetry.lock /app/
# Устанавливаем зависимости проекта. Poetry установит их в /usr/local/lib/python3.12/site-packages
RUN poetry install --no-interaction --no-ansi --no-root --only main
# Очищаем кэш Poetry, чтобы уменьшить размер слоя
RUN poetry cache clear --all -n
# =================================================
# STAGE 2: Final - Создание чистого и безопасного образа