update Dockerfile to newer python version
All checks were successful
Build Docker Container / build (push) Successful in 40s

This commit is contained in:
2025-09-22 10:59:33 +02:00
parent 8400a66e17
commit 7698adca32

View File

@@ -1,4 +1,4 @@
FROM python:3.11-slim FROM python:3.12-slim-trixie
# Set a working directory # Set a working directory
WORKDIR /app WORKDIR /app
@@ -11,9 +11,6 @@ ENV PYTHONDONTWRITEBYTECODE=1 \
# Install system deps # Install system deps
RUN apt-get update && apt-get install -y --no-install-recommends \ RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
gcc \
libffi-dev \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
# Create a non-root user # Create a non-root user