From 102009369afd098b0af57ccc5799a6b07bd02f81 Mon Sep 17 00:00:00 2001 From: kislovdm Date: Sat, 11 Apr 2026 10:58:08 +0300 Subject: [PATCH] clear caches in image --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 29460d5..74a4a9f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,9 @@ FROM python:3.12-slim WORKDIR /app -RUN apt-get update; apt-get install -y git +RUN apt-get update \ + && apt-get install -y --no-install-recommends git \ + && rm -rf /var/lib/apt/lists/* COPY ./src/requirements.txt . RUN pip install --no-cache-dir -r ./requirements.txt