update Dockerfile to newer python version
All checks were successful
Build Docker Container / build (push) Successful in 40s
All checks were successful
Build Docker Container / build (push) Successful in 40s
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user