bazarr/Dockerfile

18 lines
480 B
Docker
Raw Normal View History

FROM python:2.7.14-alpine3.6
2017-10-17 07:58:19 +08:00
ENV LANG C.UTF-8
ENV LC_ALL C.UTF-8
VOLUME /tv
2017-10-20 08:11:57 +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 -b master --single-branch https://github.com/morpheus65535/bazarr.git /bazarr && \
pip install -r /bazarr/requirements.txt && \
apk del --purge build-dependencies
2017-11-29 11:25:56 +08:00
VOLUME /bazarr/data
2017-11-29 11:25:56 +08:00
EXPOSE 6767
CMD ["python", "/bazarr/bazarr.py"]