-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathDockerfile
More file actions
12 lines (12 loc) · 757 Bytes
/
Dockerfile
File metadata and controls
12 lines (12 loc) · 757 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
FROM ubuntu:noble
RUN DEBIAN_FRONTEND=noninteractive apt-get update -y && \
DEBIAN_FRONTEND=noninteractive apt-get upgrade -y && \
DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y ffmpeg python3 curl python3-pip python-is-python3 && \
DEBIAN_FRONTEND=noninteractive apt-get clean && \
rm -r -f /var/lib/apt/lists/* && \
python3 -m pip install --no-cache-dir --break-system-packages --no-deps -U yt-dlp && \
pip3 install --no-cache-dir --break-system-packages requests eyed3 youtube-search-python typer
RUN pip3 install --no-cache-dir --break-system-packages --force-reinstall 'httpx<0.28'
COPY lidarr_youtube_downloader/lyd.py /
COPY lidarr_youtube_downloader/view/ /view
CMD ["python3", "-u", "/lyd.py"]