Dockerfile 496 Bytes
Newer Older
1
FROM python:3.7-alpine3.9
2 3
MAINTAINER echel0n <[email protected]>

4 5 6
ARG SOURCE_COMMIT
ENV SOURCE_COMMIT $SOURCE_COMMIT

7 8
ENV TZ 'Canada/Pacific'

echel0n's avatar
echel0n committed
9
COPY . /opt/sickrage/
10

echel0n's avatar
echel0n committed
11
RUN apk add --update --no-cache libffi-dev openssl-dev libxml2-dev libxslt-dev linux-headers build-base git tzdata unrar
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

EXPOSE 8081
VOLUME /config /downloads /tv /anime

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