aboutsummaryrefslogtreecommitdiff
path: root/services/docker/git-server/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'services/docker/git-server/Dockerfile')
-rw-r--r--services/docker/git-server/Dockerfile7
1 files changed, 2 insertions, 5 deletions
diff --git a/services/docker/git-server/Dockerfile b/services/docker/git-server/Dockerfile
index 274ba6a..867021c 100644
--- a/services/docker/git-server/Dockerfile
+++ b/services/docker/git-server/Dockerfile
@@ -5,12 +5,9 @@ RUN apt-get update && apt-get install -y \
rm -rf /var/lib/apt/lists/*
RUN groupadd -g 1000 git && useradd -m -u 1000 -g 1000 -s /usr/bin/bash git
-ENV GIT_CONFIG_SYSTEM=/etc/gitconfig GIT_CONFIG_GLOBAL=/git/private/gitconfig
-
-ADD gitconfig /etc/gitconfig
-ADD hooks/* /etc/git/hooks/
-ADD git-lighttpd.conf git-auth.conf lighttpd-wrapper.bash /app/
+ENV GIT_CONFIG_SYSTEM=/app/git/gitconfig GIT_CONFIG_GLOBAL=/git/gitconfig
+ADD app /app
USER git:git
VOLUME [ "/git" ]
CMD [ "tini", "--", "/app/lighttpd-wrapper.bash" ]