Skip to content
Snippets Groups Projects
Dockerfile 323 B
Newer Older
jojomi's avatar
jojomi committed
FROM alpine:latest
jon r's avatar
jon r committed
MAINTAINER Jon Richter <jon@allmende.io>
jojomi's avatar
jojomi committed

RUN apk add --update \
    lighttpd \
  && rm -rf /var/cache/apk/*

ADD lighttpd.conf /etc/lighttpd/lighttpd.conf
RUN adduser www-data -G www-data -H -s /bin/false -D

EXPOSE 80
VOLUME /var/www

jojomi's avatar
jojomi committed
ENTRYPOINT ["lighttpd", "-D", "-f", "/etc/lighttpd/lighttpd.conf"]