From 966b62d9bd7e483f1e9484a5a99d8c2db475171c Mon Sep 17 00:00:00 2001 From: prospanclaudebot Date: Fri, 10 Jul 2026 22:10:31 +0000 Subject: initial import: pacan-git --- web/Dockerfile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 web/Dockerfile (limited to 'web/Dockerfile') diff --git a/web/Dockerfile b/web/Dockerfile new file mode 100644 index 0000000..c99c212 --- /dev/null +++ b/web/Dockerfile @@ -0,0 +1,16 @@ +# cgit + nginx + git-http-backend (браузинг + clone/push по HTTP) +FROM debian:bookworm-slim +RUN apt-get update && apt-get install -y --no-install-recommends \ + nginx cgit fcgiwrap spawn-fcgi git ca-certificates \ + && rm -rf /var/lib/apt/lists/* +COPY nginx.conf /etc/nginx/nginx.conf +COPY cgitrc /etc/cgitrc +COPY dark.css /usr/share/cgit/dark.css +COPY MonaspaceKrypton.woff2 /usr/share/cgit/MonaspaceKrypton.woff2 +COPY pg-logo.png /usr/share/cgit/pg-logo.png +COPY pg-favicon.png /usr/share/cgit/pg-favicon.png +COPY entrypoint.sh /entrypoint.sh +RUN chmod +x /entrypoint.sh +EXPOSE 80 +VOLUME /repos +ENTRYPOINT ["/entrypoint.sh"] -- cgit v1.2.3