dff
This commit is contained in:
parent
1442fdeb32
commit
4c69804b0d
1 changed files with 3 additions and 6 deletions
|
@ -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/*
|
||||
|
||||
|
|
Loading…
Reference in a new issue