FROM alpine:latest # Install lighttpd RUN apk add lighttpd # Run lighttpd in foreground with config file /etc/lighttpd/lighttpd.conf USER root CMD ["lighttpd", "-D", "-f", "/etc/lighttpd/lighttpd.conf"]