streamrip/Dockerfile
Michael Grote 61fb688a48
All checks were successful
lint, build and push / lint (push) Successful in 10s
lint, build and push / build (push) Successful in 1m9s
set quality
2025-01-03 13:28:26 +01:00

23 lines
592 B
Docker

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/* \
&& 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
RUN /usr/local/bin/rip config path \
&& sed -i s/"quality = 2"/"quality = 0"/g /root/.config/streamrip/config.toml