blob: f693e8a63ebca1b752f0f43c04676ab580f121b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
FROM alpine:latest
MAINTAINER Harald Welte <laforge@gnumonks.org>
EXPOSE 80
RUN apk --update add lighttpd && \
rm -rf /var/cache/apk/* && \
mkdir -p /etc/lighttpd/lighttpd.conf.d && \
touch /etc/lighttpd/lighttpd.conf.d/empty && \
echo 'include_shell "cat /etc/lighttpd/lighttpd.conf.d/*"' >> /etc/lighttpd/lighttpd.conf
VOLUME /etc/lighttpd/lighttpd.conf.d
COPY ipv6.conf /etc/lighttpd/lighttpd.conf.d/
VOLUME /var/www/localhost/htdocs
COPY index.html /var/www/localhost/htdocs/
CMD ["/usr/sbin/lighttpd", "-D", "-f", "/etc/lighttpd/lighttpd.conf"]
|