parent
be4d2b2b58
commit
f7443648f8
@ -1,23 +1,17 @@
|
|||||||
FROM debian:buster
|
FROM lsiobase/alpine:3.6
|
||||||
|
|
||||||
ENV LANG C.UTF-8
|
|
||||||
ENV LC_ALL C.UTF-8
|
|
||||||
|
|
||||||
EXPOSE 6767
|
|
||||||
|
|
||||||
VOLUME /tv
|
VOLUME /tv
|
||||||
|
VOLUME /config
|
||||||
|
|
||||||
# Update
|
RUN apk add --update git python2 py-pip py-pygit2 jpeg-dev && \
|
||||||
RUN apt-get update
|
apk add --update --virtual build-dependencies g++ python-dev libffi-dev zlib-dev && \
|
||||||
RUN 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 /app && \
|
||||||
|
pip install -r /app/requirements.txt && \
|
||||||
# Get application source from Github
|
apk del --purge build-dependencies
|
||||||
RUN git clone -b master --single-branch https://github.com/morpheus65535/bazarr.git /bazarr
|
|
||||||
RUN git config --global user.name "Bazarr" && git config --global user.email "bazarr@fake.email"
|
|
||||||
|
|
||||||
VOLUME /bazarr/data
|
COPY root /
|
||||||
|
|
||||||
# Install app dependencies
|
LABEL MAINTAINER="peter.varsanyi@gwelican.eu"
|
||||||
RUN pip install -r /bazarr/requirements.txt
|
LABEL org.label-schema.vcs-ref=$VCS_REF org.label-schema.build-date=$BUILD_DATE
|
||||||
|
|
||||||
CMD ["python", "/bazarr/bazarr.py"]
|
EXPOSE 6767
|
Loading…
Reference in new issue