From df67c2e0340ca54abddac7c0f7a3cea01614ae6f Mon Sep 17 00:00:00 2001 From: Alexander Tarasov Date: Thu, 20 Nov 2025 00:03:36 +0100 Subject: [PATCH 1/2] chore: use slim version of base image --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8d55d06..cd383a5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ WORKDIR /project RUN pip install --no-cache-dir -r requirements.frozen.txt # Execution stage -FROM python:3.11 +FROM python:3.11-slim WORKDIR /app COPY src/ /project/src # Retrieve packages from build stage From 0f806b429faa27cca3cbdc07bb009bb3db15cec3 Mon Sep 17 00:00:00 2001 From: Alexander Tarasov Date: Thu, 20 Nov 2025 00:07:24 +0100 Subject: [PATCH 2/2] builder also --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index cd383a5..8d8823a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build stage -FROM python:3.11 AS builder +FROM python:3.11-slim AS builder RUN pip install -U pip setuptools wheel # Copy files COPY requirements.frozen.txt /project/