2017-10-18 14:54:24 -04:00
|
|
|
FROM lsiobase/alpine.python
|
2017-10-16 19:27:19 -04:00
|
|
|
|
2017-10-16 19:58:19 -04:00
|
|
|
EXPOSE 6767
|
|
|
|
|
2017-10-21 20:19:48 -04:00
|
|
|
VOLUME /tv
|
|
|
|
|
2017-10-16 19:27:19 -04:00
|
|
|
# Update
|
2017-10-18 14:54:24 -04:00
|
|
|
RUN apk add --update build-base python-dev py2-pip py-setuptools jpeg-dev zlib-dev git
|
|
|
|
|
2017-10-19 17:03:35 -04:00
|
|
|
# Get application source from Github
|
2017-10-19 20:11:57 -04:00
|
|
|
RUN git clone -b master --single-branch https://github.com/morpheus65535/bazarr.git /bazarr
|
|
|
|
|
2017-10-21 23:21:40 -04:00
|
|
|
VOLUME /bazarr/data
|
|
|
|
|
2017-10-19 17:03:35 -04:00
|
|
|
# Install app dependencies
|
2017-10-19 17:11:09 -04:00
|
|
|
RUN pip install -r /bazarr/requirements.txt
|
2017-10-19 17:03:35 -04:00
|
|
|
|
2017-10-20 09:04:51 -04:00
|
|
|
CMD ["python", "/bazarr/bazarr.py"]
|