forked from Cobraeti/docker-pyload
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
33 lines (29 loc) · 1 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
FROM linuxserver/baseimage
MAINTAINER Etienne Blondelle <[email protected]>
#Installing pyLoad
RUN echo "deb http://archive.ubuntu.com/ubuntu/ trusty-security multiverse" >> /etc/apt/sources.list
RUN echo "deb-src http://archive.ubuntu.com/ubuntu/ trusty-security multiverse" >> /etc/apt/sources.list
RUN cat /etc/apt/sources.list
RUN apt-get update && apt-get install -y python \
python-pycurl \
python-crypto \
tesseract-ocr \
python-beaker \
python-imaging \
unrar \
gocr \
python-django \
git \
rhino \
&& apt-get clean
RUN git clone https://github.com/mariusbaumann/pyload.git /opt/pyload
RUN echo "/opt/pyload/pyload-config" > /opt/pyload/module/config/configdir
#Adding default config files
ADD config/ /tmp/pyload-config
ADD services/ /etc/service/
#Changing rights
RUN chmod -v 0755 /etc/service/* /etc/service/*/run
#Exposing ports and volumes
VOLUME /opt/pyload/pyload-config
VOLUME /opt/pyload/Downloads
EXPOSE 8000