2018-06-11 02:09:59 +00:00
|
|
|
FROM lsiobase/alpine.python.armhf:3.7
|
2018-06-10 03:22:02 +00:00
|
|
|
|
|
|
|
# set python to use utf-8 rather than ascii.
|
|
|
|
ENV PYTHONIOENCODING="UTF-8"
|
|
|
|
|
2018-06-11 02:33:50 +00:00
|
|
|
ADD qemu-arm-static /usr/bin
|
2018-06-10 03:22:02 +00:00
|
|
|
|
|
|
|
VOLUME /tv
|
2018-06-13 18:11:42 +00:00
|
|
|
VOLUME /movies
|
2018-06-10 03:22:02 +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 && \
|
|
|
|
git clone https://github.com/morpheus65535/bazarr.git /bazarr && \
|
|
|
|
pip install -r /bazarr/requirements.txt && \
|
|
|
|
apk del --purge build-dependencies
|
|
|
|
|
|
|
|
VOLUME /bazarr/data
|
|
|
|
|
|
|
|
EXPOSE 6767
|
|
|
|
|
2018-07-02 12:45:34 +00:00
|
|
|
COPY root/ /
|
2018-07-02 03:33:53 +00:00
|
|
|
CMD ["python", "/bazarr/bazarr.py"]
|