2018-06-11 10:09:59 +08:00
|
|
|
FROM lsiobase/alpine.python.armhf:3.7
|
2018-06-10 11:22:02 +08:00
|
|
|
|
|
|
|
# set python to use utf-8 rather than ascii.
|
|
|
|
ENV PYTHONIOENCODING="UTF-8"
|
|
|
|
|
2018-06-11 10:33:50 +08:00
|
|
|
ADD qemu-arm-static /usr/bin
|
2018-06-10 11:22:02 +08:00
|
|
|
|
|
|
|
VOLUME /tv
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
CMD ["python", "/bazarr/bazarr.py"]
|