-
Notifications
You must be signed in to change notification settings - Fork 279
Expand file tree
/
Copy pathDockerfile
More file actions
39 lines (31 loc) · 899 Bytes
/
Copy pathDockerfile
File metadata and controls
39 lines (31 loc) · 899 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
FROM ubuntu:24.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y --no-install-recommends \
aria2 \
bash \
ca-certificates \
curl \
ffmpeg \
git \
gcc \
build-essential \
libmagic1 \
p7zip-full \
python3 \
python3-dev \
python3-pip \
python3-venv \
qbittorrent-nox \
rclone \
&& rm -rf /var/lib/apt/lists/*
# Install Deno for yt-dlp JavaScript execution (required for YouTube extraction)
RUN curl -fsSL https://deno.land/install.sh | sh && \
ln -s /root/.deno/bin/deno /usr/local/bin/deno
RUN python3 -m venv /opt/venv
ENV PATH="/opt/venv/bin:$PATH"
WORKDIR /usr/src/app
RUN chmod 777 /usr/src/app && mkdir -p /usr/src/app/downloads && chmod 777 /usr/src/app/downloads
COPY requirements.txt .
RUN pip3 install --no-cache-dir -r requirements.txt
COPY . .
CMD ["bash","start.sh"]