From 459280b384a3e8c678dce93ea7ee8acaa73689d2 Mon Sep 17 00:00:00 2001 From: lebaudantoine Date: Mon, 30 Jun 2025 14:51:20 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9A=A1=EF=B8=8F(backend)=20clean=20package?= =?UTF-8?q?=20manager=20cache=20in=20Docker=20builds?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove package manager index caches in Dockerfile to reduce image size and improve deployment speed. Even in multi-stage builds, ensure no unnecessary cache data is stored. Package indexes are redundant for runtime operation and only increase storage, bandwidth, and deployment time. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 1558c202..f5243bef 100644 --- a/Dockerfile +++ b/Dockerfile @@ -62,7 +62,7 @@ FROM base AS core ENV PYTHONUNBUFFERED=1 -RUN apk add \ +RUN apk --no-cache add \ cairo \ gdk-pixbuf \ gettext \