diff options
author | Patrick Spek <p.spek@tyil.nl> | 2018-12-05 11:37:54 +0100 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2018-12-05 11:37:54 +0100 |
commit | bc8b5802771709b62decc47862c19c4c7eab16f4 (patch) | |
tree | 8caa5a455ae448b543ca62087a34709725e6217c /Dockerfile | |
parent | 822a2a28f3f42cdc351ffa2d40c823400c44621f (diff) |
Add Dockerfile
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..916f9b8 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +FROM alpine:latest + +RUN apk add lighttpd \ + && rm -rf /var/www \ + && mkdir /var/www \ + && rm -rf /etc/lighttpd \ + && mkdir /etc/lighttpd + +COPY .docker/lighttpd.conf /etc/lighttpd/lighttpd.conf +COPY .docker/mime.conf /etc/lighttpd/mime.conf +COPY _site /var/www + +CMD lighttpd -D -f /etc/lighttpd/lighttpd.conf |