From 9969a731f10b345ec5d724edd883da1366c4dbd9 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 21 Jul 2024 08:28:01 +0000 Subject: [PATCH] fix: backend/Dockerfile.fastapi_api 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-NCURSES-6123823 - https://snyk.io/vuln/SNYK-DEBIAN12-NCURSES-6123823 - https://snyk.io/vuln/SNYK-DEBIAN12-NCURSES-6252773 - https://snyk.io/vuln/SNYK-DEBIAN12-NCURSES-6252773 --- backend/Dockerfile.fastapi_api | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/Dockerfile.fastapi_api b/backend/Dockerfile.fastapi_api index c70c8a8..2b673a3 100644 --- a/backend/Dockerfile.fastapi_api +++ b/backend/Dockerfile.fastapi_api @@ -1,4 +1,4 @@ -FROM python:3.8-slim as builder +FROM python:3.13.0b3-slim as builder ENV PYTHONDONTWRITEBYTECODE=1 ENV PYTHONUNBUFFERED=1 @@ -23,7 +23,7 @@ RUN POETRY_VIRTUALENVS_CREATE=false poetry install --no-dev -FROM python:3.8-slim as final +FROM python:3.13.0b3-slim as final RUN DEBIAN_FRONTEND=noninteractive apt-get update && \ apt-get install -y --no-install-recommends libpq-dev