-
Notifications
You must be signed in to change notification settings - Fork 48
/
Dockerfile
42 lines (34 loc) · 946 Bytes
/
Dockerfile
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
40
41
42
FROM hauxir/libtorrent-python3-ubuntu:latest
RUN apt-get update && \
apt-get install -y \
nginx \
zip \
ffmpeg \
git \
mediainfo
RUN pip install flask
RUN pip install lxml
RUN pip install pymediainfo==4.2.1
RUN pip install iso-639
RUN pip install requests
RUN pip install -e git+https://github.com/agonzalezro/python-opensubtitles#egg=python-opensubtitles
RUN pip install bencodepy
RUN pip install parse-torrent-name
RUN pip install python-dateutil
RUN pip install gunicorn
RUN pip install requests_unixsocket
RUN pip install aiohttp
RUN pip install lockfile
RUN pip install diskcache
RUN pip install urllib3==1.26.16
RUN wget https://github.com/kaegi/alass/releases/download/v2.0.0/alass-linux64 -O /usr/bin/alass
RUN chmod +x /usr/bin/alass
# BitTorrent incoming
EXPOSE 6881
EXPOSE 6881/udp
# HTTP port
EXPOSE 5000
COPY app /app
COPY nginx.conf /etc/nginx/conf.d/default.conf
WORKDIR /app
CMD bash entrypoint.sh