From ca62954ebe12296a982448ebb77e1cbacbc55d15 Mon Sep 17 00:00:00 2001 From: David Li Date: Mon, 14 Dec 2015 16:05:24 -0500 Subject: Set up cgit container --- cgit/Dockerfile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'cgit/Dockerfile') 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"] -- cgit v1.2.3