From 01e110f6fac93ded284651e0ae6d694dbca07ee5 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 28 May 2025 06:20:49 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN12-GCC12-5901316 - https://snyk.io/vuln/SNYK-DEBIAN12-GCC12-5901316 - https://snyk.io/vuln/SNYK-DEBIAN12-KRB5-6277421 - https://snyk.io/vuln/SNYK-DEBIAN12-KRB5-6277421 - https://snyk.io/vuln/SNYK-DEBIAN12-KRB5-6277421 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 81e8532..a6ede6f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # syntax=docker/dockerfile:1.4 # ---- Build stage ---- -FROM python:3.10-slim AS builder +FROM python:3.13.3-slim AS builder WORKDIR /app # System deps for building wheels, psycopg2, etc. @@ -12,7 +12,7 @@ COPY requirements-dev.txt ./ RUN pip install --upgrade pip && pip install -r requirements.txt # ---- Production image ---- -FROM python:3.10-slim +FROM python:3.13.3-slim ENV PYTHONUNBUFFERED=1 WORKDIR /app