From 7a3ca49df766c308f08a00dd376bae3e2bd15c2b Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 11 Jun 2025 07:18:32 +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-GLIBC-10180077 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 81e8532..cc2ecee 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.4-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.4-slim ENV PYTHONUNBUFFERED=1 WORKDIR /app