From 2c32a9b73263fb02d28e54746b4e98ea344d57bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis=20V=C3=A9zina?= <5130500+morpheus65535@users.noreply.github.com> Date: Thu, 19 Oct 2017 17:03:35 -0400 Subject: [PATCH] Update to dockerfile --- Dockerfile | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 854e5b657..0f6fea69b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,18 +1,17 @@ FROM lsiobase/alpine.python EXPOSE 6767 -VOLUME /tv +VOLUME /bazarr /tv # Update RUN apk add --update build-base python-dev py2-pip py-setuptools jpeg-dev zlib-dev git -ADD . /bazarr - -# Install app dependencies -RUN pip install -r /bazarr/requirements.txt - -#RUN git clone -b development --single-branch https://github.com/morpheus65535/bazarr.git +# Get application source from Github +RUN git clone -b development --single-branch https://github.com/morpheus65535/bazarr.git /bazarr WORKDIR /bazarr +# Install app dependencies +RUN pip install -r requirements.txt + CMD ["python", "bazarr.py"] \ No newline at end of file