forked from magnetikonline/docker-acestream-server
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathDockerfile
41 lines (30 loc) · 896 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
FROM python:3.8-slim
LABEL maintainer="RonZ-dev"
# install packages
RUN apt-get update && apt-get --yes upgrade
RUN apt-get --no-install-recommends --yes install \
wget \
ca-certificates
# Clean up
RUN apt-get clean && \
rm --force --recursive /var/lib/apt/lists
#upgrade pip
RUN pip3 install --upgrade pip
# Adding Python modules
RUN pip3 install requests \
pycryptodome \
isodate \
apsw \
lxml \
pynacl
WORKDIR ace
# install server
ARG ACE_STREAM_VERSION
ENV ACE_STREAM_VERSION "$ACE_STREAM_VERSION"
RUN echo "Building AceStream: $ACE_STREAM_VERSION"
RUN wget https://download.acestream.media/linux/acestream_${ACE_STREAM_VERSION}.tar.gz && \
tar -xzf acestream_${ACE_STREAM_VERSION}.tar.gz && \
rm acestream_${ACE_STREAM_VERSION}.tar.gz
EXPOSE 6878/tcp
ENTRYPOINT ["/ace/start-engine"]
CMD ["--client-console", "@/ace/config/acestream.conf"]