From f0fd51c26f277dac81dc20a1b9b1a32efb2cd200 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 5 Jul 2024 09:21:38 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN12-ZLIB-6008963 - https://snyk.io/vuln/SNYK-DEBIAN12-KRB5-7411314 - https://snyk.io/vuln/SNYK-DEBIAN12-KRB5-7411314 - https://snyk.io/vuln/SNYK-DEBIAN12-KRB5-7411315 - https://snyk.io/vuln/SNYK-DEBIAN12-OPENSSL-7411350 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b632c66..b0e5aab 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # This is a multistage container builder for poetry projects -FROM python:3.9-slim AS requirements +FROM python:3.13.0b2-slim AS requirements ENV PYTHONDONTWRITEBYTECODE 1 @@ -16,7 +16,7 @@ COPY poetry.lock poetry.lock RUN poetry export --quiet --no-interaction -f requirements.txt --without-hashes -o /src/requirements.txt # now we create our final container, runtime -FROM python:3.9-slim AS runtime +FROM python:3.13.0b2-slim AS runtime WORKDIR /app