From 6fb5d29a6d79b53f120bae2c62406bcfe63f0ff9 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Mon, 14 Jul 2025 11:19:29 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN12-SYSTEMD-10264074 - https://snyk.io/vuln/SNYK-DEBIAN12-SYSTEMD-10264074 - https://snyk.io/vuln/SNYK-DEBIAN12-ZLIB-6008963 - https://snyk.io/vuln/SNYK-DEBIAN12-COREUTILS-10259258 - https://snyk.io/vuln/SNYK-DEBIAN12-PERL-10244568 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 81e8532..81c5a01 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.5-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.5-slim ENV PYTHONUNBUFFERED=1 WORKDIR /app