From ca005b3a12de7ea1961878a783ac88dd46ac1996 Mon Sep 17 00:00:00 2001 From: Samuel <40698384+samuel-esp@users.noreply.github.com> Date: Sat, 16 Nov 2024 17:46:14 +0100 Subject: [PATCH] updated python version to 3.12.7 --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index afd53c3..de625fc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.10-alpine3.19 +FROM python:3.12.7-alpine3.20 AS builder WORKDIR / @@ -13,12 +13,12 @@ COPY pyproject.toml / RUN poetry config virtualenvs.create false && \ poetry install --no-interaction --no-dev --no-ansi -FROM python:3.10-alpine3.19 +FROM python:3.12.7-alpine3.20 WORKDIR / # copy pre-built packages to this image -COPY --from=0 /usr/local/lib/python3.10/site-packages /usr/local/lib/python3.10/site-packages +COPY --from=builder /usr/local/lib/python3.12/site-packages /usr/local/lib/python3.12/site-packages # now copy the actual code we will execute (poetry install above was just for dependencies) COPY kube_downscaler /kube_downscaler