-
Notifications
You must be signed in to change notification settings - Fork 30
/
Dockerfile
36 lines (30 loc) · 999 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
FROM alpine:edge
MAINTAINER [email protected]
ENV LANG='en_US.UTF-8' \
LANGUAGE='en_US.UTF-8' \
TERM='xterm'
RUN apk -U upgrade && \
apk -U add \
ca-certificates \
gcc git g++ \
linux-headers libxml2 libxml2-dev libffi-dev libxslt-dev \
py2-pip python python-dev py-libxml2 py2-libxslt py-lxml \
make mercurial \
nodejs \
openssl-dev \
tzdata \
unrar \
&& \
pip install --upgrade pip && \
pip --no-cache-dir install --upgrade setuptools && \
pip --no-cache-dir install --upgrade pyopenssl cheetah requirements && \
git clone --depth 1 https://github.com/SickChill/SickChill.git /SickChill && \
# pip install --user -U -r /SickChill/requirements/requirements.txt && \
apk del make gcc g++ python-dev && \
rm -rf /tmp && \
rm -rf /var/cache/apk/*
ADD ./start.sh /start.sh
RUN chmod u+x /start.sh
VOLUME ["/config", "/data", "/cache", "/scripts"]
EXPOSE 8081
CMD ["/start.sh"]