From 53d0771d56e6f1cf7ea775ca91bd445c751fdb2c Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 29 Sep 2024 10:44:32 +0000 Subject: [PATCH] fix: backend/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-GCC12-2606941 - https://snyk.io/vuln/SNYK-DEBIAN12-GCC12-5901316 - https://snyk.io/vuln/SNYK-DEBIAN12-KRB5-6277421 - https://snyk.io/vuln/SNYK-DEBIAN12-NCURSES-6252773 --- backend/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/Dockerfile b/backend/Dockerfile index d430b89..b45fb89 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.11-slim as builder +FROM python:3.13.0rc2-slim as builder LABEL maintainer="André Felipe Dias " RUN DEBIAN_FRONTEND=noninteractive apt-get update && \ @@ -19,7 +19,7 @@ RUN . /venv/bin/activate; \ $POETRY_HOME/bin/poetry install --only main --no-interaction -FROM python:3.11-slim as final +FROM python:3.13.0rc2-slim as final COPY --from=builder /venv /venv ENV PATH=/venv/bin:${PATH}