bazarr/Dockerfile.armhf

22 lines
557 B
Text
Raw Normal View History

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
2018-06-14 02:11:42 +08:00
VOLUME /movies
2018-06-10 11:22:02 +08: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 20:45:34 +08:00
COPY root/ /
CMD ["python", "/bazarr/bazarr.py"]