@ -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)