-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
23 lines (16 loc) · 725 Bytes
/
Dockerfile
File metadata and controls
23 lines (16 loc) · 725 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM linuxserver/baseimage.python
MAINTAINER BS
# set python to use utf-8 rather than ascii, hopefully resolve special characters in movie names
ENV PYTHONIOENCODING="UTF-8"
RUN apt-get update \
&& apt-get install --no-install-recommends -y git-core python python-dev python3-lxml \
&& git clone --depth=1 \
https://github.com/CouchPotato/CouchPotatoServer.git \
/opt/couchpotato \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
# Monte le dossier "torrents" dans "downloads" afin de permettre le téléchargement personnalisé sur rTorrent
RUN mkdir /torrents
RUN ln -s /torrents /downloads
VOLUME /config
EXPOSE 5050
CMD python /opt/couchpotato/CouchPotato.py --data_dir /config