Dockerfile 438 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10
FROM python:2
MAINTAINER echel0n <[email protected]>

# set version label
ARG BUILD_DATE
ARG VERSION
LABEL build_version="Version:- ${VERSION} Build-date:- ${BUILD_DATE}"

# install app
COPY . /opt/sickrage/
11

echel0n's avatar
echel0n committed
12
RUN pip install -U pip setuptools
echel0n's avatar
echel0n committed
13
RUN pip install -r /opt/sickrage/requirements.txt
14 15 16 17 18 19

# ports and volumes
EXPOSE 8081
VOLUME /config /downloads /tv /anime

ENTRYPOINT python /opt/sickrage/SiCKRAGE.py --nolaunch --datadir /config