FROM python:3.13.1-bookworm ENV DEBIAN_FRONTEND=noninteractive # hadolint ignore=DL3008 RUN apt-get update \ && apt-get -y --no-install-recommends install \ vim \ python3 \ pip \ && rm -rf /var/lib/apt/lists/* /var/tmp/* /tmp/* requirements.txt \ && apt-get clean WORKDIR /data COPY requirements.txt . # hadolint ignore=DL3013 RUN python3 -m pip install --no-cache-dir --upgrade pip \ && python3 -m pip install --no-cache-dir -r requirements.txt \ && rm -rf requirements.txt