2017-10-19 02:54:24 +08:00
|
|
|
FROM lsiobase/alpine.python
|
2017-10-17 07:27:19 +08:00
|
|
|
|
2017-10-17 07:58:19 +08:00
|
|
|
EXPOSE 6767
|
2017-10-20 05:03:35 +08:00
|
|
|
VOLUME /bazarr /tv
|
2017-10-17 07:58:19 +08:00
|
|
|
|
2017-10-17 07:27:19 +08:00
|
|
|
# Update
|
2017-10-19 02:54:24 +08:00
|
|
|
RUN apk add --update build-base python-dev py2-pip py-setuptools jpeg-dev zlib-dev git
|
|
|
|
|
2017-10-20 05:03:35 +08:00
|
|
|
# Get application source from Github
|
|
|
|
RUN git clone -b development --single-branch https://github.com/morpheus65535/bazarr.git /bazarr
|
2017-10-19 02:54:24 +08:00
|
|
|
|
|
|
|
WORKDIR /bazarr
|
2017-10-17 07:27:19 +08:00
|
|
|
|
2017-10-20 05:03:35 +08:00
|
|
|
# Install app dependencies
|
2017-10-20 05:11:09 +08:00
|
|
|
RUN pip install -r /bazarr/requirements.txt
|
2017-10-20 05:03:35 +08:00
|
|
|
|
2017-10-19 02:54:24 +08:00
|
|
|
CMD ["python", "bazarr.py"]
|