diff --git a/Dockerfile b/Dockerfile index 0562757e9..39c09994f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,15 +1,18 @@ -FROM lsiobase/alpine:3.6 +FROM debian:buster -VOLUME /tv +ENV LANG C.UTF-8 +ENV LC_ALL C.UTF-8 + +EXPOSE 6767 -RUN apk add --update git python2 py-pip py-pygit2 jpeg-dev && \ - apk add --update --virtual build-dependencies g++ python-dev libffi-dev zlib-dev && \ - git clone -b master --single-branch https://github.com/morpheus65535/bazarr.git /app && \ - pip install -r /app/requirements.txt && \ - apk del --purge build-dependencies +VOLUME /tv -VOLUME /app/data +RUN apt-get update && \ + apt-get install -y build-essential python-dev python-pip python-setuptools libjpeg-dev zlib1g-dev git libgit2-dev libffi-dev && \ + git clone -b master --single-branch https://github.com/morpheus65535/bazarr.git /bazarr && \ + git config --global user.name "Bazarr" && git config --global user.email "bazarr@fake.email" && \ + pip install -r /bazarr/requirements.txt -EXPOSE 6767 +VOLUME /bazarr/data -CMD ["python", "/app/bazarr.py"] \ No newline at end of file +CMD ["python", "/bazarr/bazarr.py"] \ No newline at end of file diff --git a/Dockerfile.alpine b/Dockerfile.alpine new file mode 100644 index 000000000..0562757e9 --- /dev/null +++ b/Dockerfile.alpine @@ -0,0 +1,15 @@ +FROM lsiobase/alpine:3.6 + +VOLUME /tv + +RUN apk add --update git python2 py-pip py-pygit2 jpeg-dev && \ + apk add --update --virtual build-dependencies g++ python-dev libffi-dev zlib-dev && \ + git clone -b master --single-branch https://github.com/morpheus65535/bazarr.git /app && \ + pip install -r /app/requirements.txt && \ + apk del --purge build-dependencies + +VOLUME /app/data + +EXPOSE 6767 + +CMD ["python", "/app/bazarr.py"] \ No newline at end of file