summaryrefslogtreecommitdiff
path: root/cgit/Dockerfile
blob: 9d43b9c86dc4c33fbf7287764d17988960ee38cd (plain)
1
2
3
4
5
6
7
8
9
10
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
EXPOSE 80
ENTRYPOINT ["lighttpd", "-D", "-f", "/etc/lighttpd/lighttpd.conf"]