mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-12-02 14:28:08 +01:00
cb791cab29
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
32 lines
670 B
Docker
32 lines
670 B
Docker
# Couchpotato in a container
|
|
#
|
|
# docker run -d \
|
|
# --restart always \
|
|
# -p 5050:5050 \
|
|
# -v /etc/localtime:/etc/localtime:ro \
|
|
# -v /volumes/couchpotato:/data \
|
|
# --link transmission:transmission \
|
|
# --name couchpotato \
|
|
# jess/couchpotato
|
|
#
|
|
FROM debian:sid
|
|
MAINTAINER Jessica Frazelle <jess@docker.com>
|
|
|
|
|
|
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" ]
|