dockerfiles/couchpotato/Dockerfile
Jess Frazelle 4f8782ed19
latest versions
Signed-off-by: Jess Frazelle <acidburn@google.com>
2016-12-27 16:10:07 -08:00

48 lines
883 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 alpine:latest
MAINTAINER Jessie Frazelle <jess@linux.com>
RUN apk add --no-cache \
ca-certificates \
gcc \
git \
libffi-dev \
libxml2-dev \
libxslt-dev \
musl-dev \
openssl-dev \
python \
python-dev \
py-pip \
&& rm -rf /var/lib/apt/lists/*
RUN pip install \
lxml \
pyopenssl
EXPOSE 5050
ENV COUCHPOTATO_VERSION 3.0.1
RUN git clone https://github.com/RuudBurger/CouchPotatoServer.git /usr/src/couchpotato \
&& ( \
cd /usr/src/couchpotato \
&& git checkout "build/${COUCHPOTATO_VERSION}" \
)
WORKDIR /usr/src/couchpotato
ENTRYPOINT [ "python", "CouchPotato.py", "--debug" ]
CMD [ "--data_dir", "/data" ]