fix build
This commit is contained in:
parent
7f04011a34
commit
4419d908a3
1 changed files with 3 additions and 2 deletions
|
@ -2,11 +2,12 @@ FROM ubuntu:24.04
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
COPY requirements.txt .
|
||||||
|
|
||||||
# hadolint ignore=DL3008,DL3028
|
# hadolint ignore=DL3008,DL3028
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get -y remove python3 \
|
|
||||||
&& apt-get -y --no-install-recommends install \
|
&& apt-get -y --no-install-recommends install \
|
||||||
python3-full python3-pip \
|
python3-full python3-pip \
|
||||||
&& pip install --no-cache-dir --break-system-packages -r ./requirements.txt \
|
&& pip install --no-cache-dir --break-system-packages -r requirements.txt \
|
||||||
&& apt-get clean \
|
&& apt-get clean \
|
||||||
&& rm -rf /var/lib/apt/lists/* /var/tmp/* /tmp/*
|
&& rm -rf /var/lib/apt/lists/* /var/tmp/* /tmp/*
|
||||||
|
|
Reference in a new issue