2018-01-23 15:49:52 +00:00
|
|
|
FROM lsiobase/alpine.python:3.7
|
2017-10-16 23:58:19 +00:00
|
|
|
|
2018-01-23 15:49:52 +00:00
|
|
|
# set python to use utf-8 rather than ascii.
|
|
|
|
ENV PYTHONIOENCODING="UTF-8"
|
2017-11-30 03:36:09 +00:00
|
|
|
|
|
|
|
VOLUME /tv
|
2018-05-30 17:07:37 +00:00
|
|
|
VOLUME /movies
|
2017-10-20 00:11:57 +00:00
|
|
|
|
2018-01-16 04:29:39 +00:00
|
|
|
RUN apk add --update git py-pip jpeg-dev && \
|
|
|
|
apk add --update --virtual build-dependencies build-base python-dev libffi-dev zlib-dev && \
|
2018-05-31 17:10:38 +00:00
|
|
|
git clone https://github.com/morpheus65535/bazarr.git /bazarr && \
|
2018-01-16 04:29:39 +00:00
|
|
|
pip install -r /bazarr/requirements.txt && \
|
|
|
|
apk del --purge build-dependencies
|
2017-11-29 03:25:56 +00:00
|
|
|
|
2017-11-30 03:36:09 +00:00
|
|
|
VOLUME /bazarr/data
|
2017-11-29 03:25:56 +00:00
|
|
|
|
2018-01-16 04:29:39 +00:00
|
|
|
EXPOSE 6767
|
|
|
|
|
2018-06-29 03:05:55 +00:00
|
|
|
COPY root/ /
|