parent
b47f62108f
commit
1cab28a526
@ -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"]
|
||||
CMD ["python", "/bazarr/bazarr.py"]
|
@ -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"]
|
Loading…
Reference in new issue