pull/26/head
Louis Vézina 7 years ago
parent c9e39ad9a2
commit 2efc13f848

@ -1,11 +1,12 @@
FROM debian FROM debian:buster
EXPOSE 6767 EXPOSE 6767
VOLUME /tv VOLUME /tv
# Update # 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 # Get application source from Github
RUN git clone -b master --single-branch https://github.com/morpheus65535/bazarr.git /bazarr 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 os
import pygit2 import pygit2
current_working_directory = os.getcwd() current_working_directory = os.path.dirname(__file__)
repository_path = pygit2.discover_repository(current_working_directory) repository_path = pygit2.discover_repository(current_working_directory)
local_repo = pygit2.Repository(repository_path) local_repo = pygit2.Repository(repository_path)

Loading…
Cancel
Save