summaryrefslogtreecommitdiff
path: root/cgit/Dockerfile
diff options
context:
space:
mode:
authorDavid Li <li.davidm96@gmail.com>2015-12-14 16:05:24 -0500
committerDavid Li <li.davidm96@gmail.com>2015-12-14 16:05:24 -0500
commitca62954ebe12296a982448ebb77e1cbacbc55d15 (patch)
treee05d7c3d656dc8c759938246069be08efe5b6ef6 /cgit/Dockerfile
parent893f8cff53e65515a110de8e9c4c9e00079ab003 (diff)
Set up cgit container
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"]