summaryrefslogtreecommitdiff
path: root/cgit/Dockerfile
diff options
context:
space:
mode:
authoryyamashita <yyamashita@hetzner.yyamashita.com>2026-05-17 17:21:55 +0900
committeryyamashita <yyamashita@hetzner.yyamashita.com>2026-05-17 17:21:55 +0900
commitedb99c9da2198482345a1c3fc9f24a115d0aa62a (patch)
treec8a1fff2dfb5016526c92a3a19d5d2f8e3f3249c /cgit/Dockerfile
parent7e8e89ef2e2b2302c92e03429e43be9b1db08d49 (diff)
Use custom Dockerfile for cgit (klakegg/cgit removed from Docker Hub)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'cgit/Dockerfile')
-rw-r--r--cgit/Dockerfile5
1 files changed, 5 insertions, 0 deletions
diff --git a/cgit/Dockerfile b/cgit/Dockerfile
new file mode 100644
index 0000000..dabdfd7
--- /dev/null
+++ b/cgit/Dockerfile
@@ -0,0 +1,5 @@
+FROM alpine:3.19
+RUN apk add --no-cache cgit lighttpd highlight
+COPY lighttpd.conf /etc/lighttpd/lighttpd.conf
+EXPOSE 80
+CMD ["lighttpd", "-D", "-f", "/etc/lighttpd/lighttpd.conf"]