🔒️(security) upgrade python version to fix vulnerability

Vulnerability in jaraco.context caused security issue
in setuptools and python3. change python version to fix
see https://github.com/advisories/GHSA-58pv-8j8x-9vj2
This commit is contained in:
Marie PUPO JEAMMET
2026-01-16 10:32:53 +01:00
committed by Marie
parent 9c62efc9f8
commit 5feee53bdd
5 changed files with 7 additions and 5 deletions

View File

@@ -1,10 +1,10 @@
# Django People
# ---- base image to inherit from ----
FROM python:3.12.6-alpine3.20 AS base
FROM python:3.13.11-alpine AS base
# Upgrade pip to its latest release to speed up dependencies installation
RUN python -m pip install --upgrade pip setuptools
RUN python -m pip install --upgrade pip
# Upgrade system packages to install security updates
RUN apk update && \