blob: f04c5852a10b95b297b5c1ba5fa457c98534f4a9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
FROM gliderlabs/alpine:3.2
RUN apk --update add git
RUN apk --update add lighttpd
RUN apk --update add cgit
# TODO: make sure these paths are right
COPY lighttpd.conf /etc/lighttpd/lighttpd.conf
COPY cgit.conf /etc/lighttpd/cgit.conf
COPY cgitrc /etc/cgitrc
COPY cgit-footer /etc/cgit-footer
EXPOSE 80
ENTRYPOINT ["lighttpd", "-D", "-f", "/etc/lighttpd/lighttpd.conf"]
|