From 95b129524388d231771e4ee8aa3701ff51980140 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 4 Aug 2024 01:54:48 +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-SHADOW-1559391 - https://snyk.io/vuln/SNYK-DEBIAN12-SHADOW-1559403 - https://snyk.io/vuln/SNYK-DEBIAN12-SHADOW-5423923 - https://snyk.io/vuln/SNYK-DEBIAN12-SHADOW-5879156 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b632c66..87b0996 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.0rc1-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.0rc1-slim AS runtime WORKDIR /app