forked from SpaunBoNe/aceUbase
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
52 lines (42 loc) · 1.22 KB
/
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
43
44
45
46
47
48
49
50
51
52
FROM coresystem/acestream
WORKDIR /tmp
# set ports
EXPOSE 8621 62062 6878 8081
# set config volume
VOLUME /mnt/films/
# update apt and install dependencies
RUN \
apt-get update -y && \
apt-get install -y --no-install-recommends \
build-essential \
python-dev \
unzip \
gcc \
curl \
python-libxslt1 \
wget \
mc \
nano && \
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \
python get-pip.py && \
rm -rf get-pip.py && \
pip install --upgrade psutil && \
pip install --upgrade gevent && \
mkdir -p /mnt/films && \
#acestream
cp /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0 /opt/acestream/lib/libcrypto.so.1.0.0 && \
cp /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 /opt/acestream/lib/libcrypto.so.1.1 && \
cp /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0 /opt/acestream/lib/libssl.so.1.0.0 && \
cp /usr/lib/x86_64-linux-gnu/libssl.so.1.1 /opt/acestream/lib/libssl.so.1.1 && \
# install aceproxy
wget -o - https://github.com/pepsik-kiev/HTTPAceProxy/archive/master.zip -O aceproxy.zip && \
unzip aceproxy.zip -d /opt/ && \
# clean up
apt-get clean && \
apt-get remove --purge python-dev gcc build-essential curl unzip -y && \
apt autoremove -y && \
rm -rf /tmp/* /start.sh
# add local files
COPY root/ /
RUN chmod +x /opt/start.sh
WORKDIR /