Dockerfile 481 Bytes
Newer Older
1
FROM python:2.7.15-alpine3.8
2 3
MAINTAINER echel0n <[email protected]>

4 5
ENV TZ 'Canada/Pacific'

6 7
# install app
COPY . /opt/sickrage/
8

echel0n's avatar
echel0n committed
9
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
10
RUN pip install -U pip setuptools
echel0n's avatar
echel0n committed
11
RUN pip install -r /opt/sickrage/requirements.txt
12 13 14 15 16 17

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

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