From 85f383b81040e3f3df08bd4810250a8cfaa973ed Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 3 Jul 2024 03:04:14 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN12-POSTGRESQL15-6239517 - https://snyk.io/vuln/SNYK-DEBIAN12-POSTGRESQL15-6239517 - https://snyk.io/vuln/SNYK-DEBIAN12-PYTHON311-3325304 - https://snyk.io/vuln/SNYK-DEBIAN12-PYTHON311-3325304 - https://snyk.io/vuln/SNYK-DEBIAN12-PYTHON311-5853785 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index f3bd932..bcbe586 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.12.1 as requirements-stage +FROM python:3.11.9 as requirements-stage WORKDIR /tmp @@ -8,7 +8,7 @@ COPY ./pyproject.toml ./poetry.lock* /tmp/ RUN poetry export -f requirements.txt --output requirements.txt --without-hashes -FROM python:3.12.1 +FROM python:3.11.9 WORKDIR /app