summaryrefslogtreecommitdiff
path: root/web/Dockerfile
diff options
context:
space:
mode:
authorprospanclaudebot <[email protected]>2026-07-10 22:10:31 +0000
committerprospanclaudebot <[email protected]>2026-07-10 22:10:31 +0000
commit966b62d9bd7e483f1e9484a5a99d8c2db475171c (patch)
treedf3a27730963d68d515272b4246dc79d96945744 /web/Dockerfile
downloadpacan-git-966b62d9bd7e483f1e9484a5a99d8c2db475171c.tar.gz
pacan-git-966b62d9bd7e483f1e9484a5a99d8c2db475171c.zip
initial import: pacan-gitHEADmain
Diffstat (limited to 'web/Dockerfile')
-rw-r--r--web/Dockerfile16
1 files changed, 16 insertions, 0 deletions
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"]