mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-01-07 23:37:58 +08:00
Update to dockerfile
This commit is contained in:
parent
ce874efb31
commit
2c32a9b732
1 changed files with 6 additions and 7 deletions
13
Dockerfile
13
Dockerfile
|
@ -1,18 +1,17 @@
|
||||||
FROM lsiobase/alpine.python
|
FROM lsiobase/alpine.python
|
||||||
|
|
||||||
EXPOSE 6767
|
EXPOSE 6767
|
||||||
VOLUME /tv
|
VOLUME /bazarr /tv
|
||||||
|
|
||||||
# Update
|
# Update
|
||||||
RUN apk add --update build-base python-dev py2-pip py-setuptools jpeg-dev zlib-dev git
|
RUN apk add --update build-base python-dev py2-pip py-setuptools jpeg-dev zlib-dev git
|
||||||
|
|
||||||
ADD . /bazarr
|
# Get application source from Github
|
||||||
|
RUN git clone -b development --single-branch https://github.com/morpheus65535/bazarr.git /bazarr
|
||||||
# Install app dependencies
|
|
||||||
RUN pip install -r /bazarr/requirements.txt
|
|
||||||
|
|
||||||
#RUN git clone -b development --single-branch https://github.com/morpheus65535/bazarr.git
|
|
||||||
|
|
||||||
WORKDIR /bazarr
|
WORKDIR /bazarr
|
||||||
|
|
||||||
|
# Install app dependencies
|
||||||
|
RUN pip install -r requirements.txt
|
||||||
|
|
||||||
CMD ["python", "bazarr.py"]
|
CMD ["python", "bazarr.py"]
|
Loading…
Reference in a new issue