diff options
Diffstat (limited to 'alpine-darkhttpd/Dockerfile')
-rw-r--r-- | alpine-darkhttpd/Dockerfile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/alpine-darkhttpd/Dockerfile b/alpine-darkhttpd/Dockerfile new file mode 100644 index 0000000..f461934 --- /dev/null +++ b/alpine-darkhttpd/Dockerfile @@ -0,0 +1,10 @@ +FROM alpine:3.7 + +RUN apk add --no-cache darkhttpd +RUN \ + echo "text/plain yaml" >> /etc/mime.types && \ + echo "image/svg+xml svg" >> /etc/mime.types + +VOLUME /www +CMD ["darkhttpd", "/www/htdocs", "--uid", "darkhttpd", "--gid", "www-data", "--log", "/www/log/darkhttpd/access.log"] +EXPOSE 80 |