2025-01-03 13:21:29 +01:00
|
|
|
FROM python:3.13.1-bookworm
|
|
|
|
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
|
|
|
|
# hadolint ignore=DL3008
|
|
|
|
RUN apt-get update \
|
|
|
|
&& apt-get -y --no-install-recommends install \
|
2025-01-03 13:22:56 +01:00
|
|
|
vim \
|
2025-01-03 13:21:29 +01:00
|
|
|
python3 \
|
|
|
|
pip \
|
2025-01-03 13:28:26 +01:00
|
|
|
&& rm -rf /var/lib/apt/lists/* /var/tmp/* /tmp/* \
|
2025-01-03 13:21:29 +01:00
|
|
|
&& 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
|
2025-01-03 13:28:26 +01:00
|
|
|
|
|
|
|
RUN /usr/local/bin/rip config path \
|
|
|
|
&& sed -i s/"quality = 2"/"quality = 0"/g /root/.config/streamrip/config.toml
|