summaryrefslogtreecommitdiff
path: root/cgit/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'cgit/Dockerfile')
-rw-r--r--cgit/Dockerfile9
1 files changed, 5 insertions, 4 deletions
diff --git a/cgit/Dockerfile b/cgit/Dockerfile
index 4bf5187..9d43b9c 100644
--- a/cgit/Dockerfile
+++ b/cgit/Dockerfile
@@ -1,9 +1,10 @@
FROM gliderlabs/alpine:3.2
RUN apk --update add git
-RUN apk --update add nginx
+RUN apk --update add lighttpd
RUN apk --update add cgit
# TODO: make sure these paths are right
-COPY nginx.conf /etc/nginx/nginx.conf
-COPY cgit.conf /etc/nginx/sites-enabled/cgit.conf
+COPY lighttpd.conf /etc/lighttpd/lighttpd.conf
+COPY cgit.conf /etc/lighttpd/cgit.conf
COPY cgitrc /etc/cgitrc
-ENTRYPOINT ["nginx", "-g", "daemon off;"]
+EXPOSE 80
+ENTRYPOINT ["lighttpd", "-D", "-f", "/etc/lighttpd/lighttpd.conf"]