-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
37 lines (23 loc) · 683 Bytes
/
Copy pathDockerfile
File metadata and controls
37 lines (23 loc) · 683 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
FROM ubuntu:20.04
WORKDIR /torapp
RUN chmod -R 777 /torapp
RUN apt -qq update
ENV TZ Asia/Kolkata
ENV DEBIAN_FRONTEND noninteractive
RUN apt -qq install -y curl git wget \
python3 python3-pip \
aria2 \
ffmpeg mediainfo unzip p7zip-full p7zip-rar
RUN curl https://rclone.org/install.sh | bash
RUN apt-get install -y software-properties-common
RUN apt-get -y update
RUN add-apt-repository -y ppa:qbittorrent-team/qbittorrent-stable
RUN apt install -y qbittorrent-nox
COPY requirements.txt .
RUN pip3 install --no-cache-dir -r requirements.txt
COPY . .
RUN chmod 777 alive.sh
RUN chmod 777 start.sh
RUN useradd -ms /bin/bash myuser
USER myuser
CMD ./start.sh