This commit is contained in:
Louis Vézina 2017-10-19 19:58:40 -04:00
parent 7d471ef0f2
commit 8109a8986b
1 changed files with 8 additions and 3 deletions

View File

@ -6,8 +6,15 @@ VOLUME /bazarr/data /tv
# Update
RUN apk add --update build-base python-dev py2-pip py-setuptools jpeg-dev zlib-dev git
WORKDIR /bazarr
# Get application source from Github
RUN git clone -b master --single-branch https://github.com/morpheus65535/bazarr.git /bazarr
RUN git init
RUN git remote add origin https://github.com/morpheus65535/bazarr.git
RUN git fetch
RUN git reset origin/master # this is required if files in the non-empty directory are in the repo
RUN git checkout -t origin/master
#RUN git clone -b master --single-branch https://github.com/morpheus65535/bazarr.git /bazarr
RUN ls /
RUN ls /bazarr
@ -15,6 +22,4 @@ RUN ls /bazarr
# Install app dependencies
RUN pip install -r /bazarr/requirements.txt
WORKDIR /bazarr
CMD ["python", "bazarr.py"]