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
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
@ -7,11 +7,8 @@ COPY requirements.txt .
|
||||||
|
|
||||||
# hadolint ignore=DL3008,DL3028
|
# hadolint ignore=DL3008,DL3028
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get -y --no-install-recommends install \
|
&& apt-get -y --no-install-recommends install wget \
|
||||||
python3 \
|
RUN python3 -m pip install --no-cache-dir -r requirements.txt \
|
||||||
wget
|
|
||||||
RUN python3 -m ensurepip --upgrade
|
|
||||||
RUN python3 -m pip install --no-cache-dir -r requirements.txt --break-system-packages \
|
|
||||||
&& apt-get clean \
|
&& apt-get clean \
|
||||||
&& rm -rf /var/lib/apt/lists/* /var/tmp/* /tmp/*
|
&& rm -rf /var/lib/apt/lists/* /var/tmp/* /tmp/*
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue