diff --git a/Dockerfile b/Dockerfile index c719043..80ede59 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ubuntu:24.04 +FROM python:3.12.4-bookworm ENV DEBIAN_FRONTEND=noninteractive @@ -7,11 +7,8 @@ COPY requirements.txt . # hadolint ignore=DL3008,DL3028 RUN apt-get update \ - && apt-get -y --no-install-recommends install \ - python3 \ - wget -RUN python3 -m ensurepip --upgrade -RUN python3 -m pip install --no-cache-dir -r requirements.txt --break-system-packages \ + && apt-get -y --no-install-recommends install wget \ +RUN python3 -m pip install --no-cache-dir -r requirements.txt \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* /var/tmp/* /tmp/*