Update Dockerfile to use Python 3.13-alpine for improved performance and security

This commit is contained in:
Théophile Diot 2025-01-02 09:52:10 +00:00
parent df2fdffeeb
commit 2554cf9e42
No known key found for this signature in database
GPG key ID: FA995104A0BA376A

View file

@ -1,4 +1,4 @@
FROM python:3.12-alpine@sha256:fd340d298d9d537a33c859f03bcc60e8e2542968e16f998bb0e232e25b4b23bd AS builder
FROM python:3.13-alpine@sha256:657dbdb20479a6523b46c06114c8fec7db448232f956a429d3cc0606d30c1b59 AS builder
# Export var for specific actions on linux/arm/v7
ARG TARGETPLATFORM
@ -35,7 +35,7 @@ COPY src/common/helpers helpers
COPY src/VERSION VERSION
COPY src/ui ui
FROM python:3.12-alpine@sha256:fd340d298d9d537a33c859f03bcc60e8e2542968e16f998bb0e232e25b4b23bd
FROM python:3.13-alpine@sha256:657dbdb20479a6523b46c06114c8fec7db448232f956a429d3cc0606d30c1b59
# Set default umask to prevent huge recursive chmod increasing the final image size
RUN umask 027