diff options
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..28d267a --- /dev/null +++ b/Dockerfile @@ -0,0 +1,14 @@ +FROM alpine:latest +MAINTAINER Christoph Helma <helma@in-silico.ch> + +RUN apk update +RUN apk add lighttpd git-gitweb git-daemon perl-cgi +RUN rm -rf /var/cache/apk/* + +COPY gitweb.conf /etc/gitweb.conf +COPY lighttpd.conf /etc/lighttpd/lighttpd.conf + +EXPOSE 80 +VOLUME /var/git + +CMD ["lighttpd", "-D", "-f", "/etc/lighttpd/lighttpd.conf","2>&1"] |