2017-11-14 14:38:34 +00:00
|
|
|
FROM debian:buster
|
2017-10-16 23:27:19 +00:00
|
|
|
|
2017-10-16 23:58:19 +00:00
|
|
|
EXPOSE 6767
|
|
|
|
|
2017-10-22 00:19:48 +00:00
|
|
|
VOLUME /tv
|
|
|
|
|
2017-10-16 23:27:19 +00:00
|
|
|
# Update
|
2017-11-14 14:38:34 +00:00
|
|
|
RUN apt-get update
|
|
|
|
RUN apt-get install -y build-essential python-dev python-pip python-setuptools libjpeg-dev zlib1g-dev git libgit2-dev libffi-dev
|
2017-10-18 18:54:24 +00:00
|
|
|
|
2017-10-19 21:03:35 +00:00
|
|
|
# Get application source from Github
|
2017-11-16 02:07:21 +00:00
|
|
|
RUN git clone -b master --single-branch https://github.com/morpheus65535/bazarr.git /bazarr
|
2017-11-27 02:44:52 +00:00
|
|
|
RUN git config --global user.name "Bazarr" && git config --global user.email "bazarr@fake.email"
|
2017-10-20 00:11:57 +00:00
|
|
|
|
2017-10-22 03:21:40 +00:00
|
|
|
VOLUME /bazarr/data
|
|
|
|
|
2017-10-19 21:03:35 +00:00
|
|
|
# Install app dependencies
|
2017-10-19 21:11:09 +00:00
|
|
|
RUN pip install -r /bazarr/requirements.txt
|
2017-10-19 21:03:35 +00:00
|
|
|
|
2017-10-20 13:04:51 +00:00
|
|
|
CMD ["python", "/bazarr/bazarr.py"]
|