14 lines
368 B
Docker
14 lines
368 B
Docker
FROM ubuntu:24.04
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
WORKDIR /
|
|
COPY requirements.txt .
|
|
|
|
# hadolint ignore=DL3008,DL3028
|
|
RUN apt-get update \
|
|
&& apt-get -y --no-install-recommends install \
|
|
python3-full python3-pip \
|
|
&& pip install --no-cache-dir --break-system-packages -r requirements.txt \
|
|
&& apt-get clean \
|
|
&& rm -rf /var/lib/apt/lists/* /var/tmp/* /tmp/*
|