diff options
author | Christoph Helma <helma@in-silico.ch> | 2019-07-08 16:06:42 +0200 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2019-07-08 16:06:42 +0200 |
commit | 9e007eb7de831bb6e8542d7edab51c839533bda8 (patch) | |
tree | 17268961dc65adf1e8858c624e08ed35009050eb /Dockerfile |
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"] |