2015-10-22 08:07:00 +02:00
|
|
|
# Couchpotato in a container
|
|
|
|
#
|
|
|
|
# docker run -d \
|
|
|
|
# --restart always \
|
|
|
|
# -p 5050:5050 \
|
|
|
|
# -v /etc/localtime:/etc/localtime:ro \
|
|
|
|
# -v /volumes/couchpotato:/data \
|
2015-10-22 11:13:39 +02:00
|
|
|
# --link transmission:transmission \
|
2015-10-22 08:07:00 +02:00
|
|
|
# --name couchpotato \
|
|
|
|
# jess/couchpotato
|
|
|
|
#
|
|
|
|
FROM debian:sid
|
2016-09-20 00:25:05 +02:00
|
|
|
MAINTAINER Jessie Frazelle <jess@linux.com>
|
2015-10-22 08:07:00 +02:00
|
|
|
|
|
|
|
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
|
|
ca-certificates \
|
|
|
|
git \
|
|
|
|
python \
|
|
|
|
python-lxml \
|
|
|
|
python-openssl \
|
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
|
|
EXPOSE 5050
|
|
|
|
|
|
|
|
RUN git clone https://github.com/RuudBurger/CouchPotatoServer.git /usr/src/couchpotato
|
|
|
|
|
|
|
|
WORKDIR /usr/src/couchpotato
|
|
|
|
|
|
|
|
ENTRYPOINT [ "python", "CouchPotato.py", "--debug" ]
|
|
|
|
CMD [ "--data_dir", "/data" ]
|