mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-02-12 17:03:59 +08:00
Test
This commit is contained in:
parent
c9e39ad9a2
commit
2efc13f848
2 changed files with 4 additions and 3 deletions
|
@ -1,11 +1,12 @@
|
|||
FROM debian
|
||||
FROM debian:buster
|
||||
|
||||
EXPOSE 6767
|
||||
|
||||
VOLUME /tv
|
||||
|
||||
# Update
|
||||
RUN apt-get install build-base python-dev py2-pip py-setuptools jpeg-dev zlib-dev git libgit2-dev
|
||||
RUN apt-get update
|
||||
RUN apt-get install -y build-essential python-dev python-pip python-setuptools libjpeg-dev zlib1g-dev git libgit2-dev libffi-dev
|
||||
|
||||
# Get application source from Github
|
||||
RUN git clone -b master --single-branch https://github.com/morpheus65535/bazarr.git /bazarr
|
||||
|
|
|
@ -3,7 +3,7 @@ from get_general_settings import *
|
|||
import os
|
||||
import pygit2
|
||||
|
||||
current_working_directory = os.getcwd()
|
||||
current_working_directory = os.path.dirname(__file__)
|
||||
repository_path = pygit2.discover_repository(current_working_directory)
|
||||
local_repo = pygit2.Repository(repository_path)
|
||||
|
||||
|
|
Loading…
Reference in a new issue