FROM alpine:3.20 RUN apk add --no-cache lighttpd && \ rm -rf /var/cache/apk/* # Copy your static site files into the web root COPY site/ /var/www/localhost/htdocs/ # Run Lighttpd in the foreground CMD ["lighttpd", "-D", "-f", "/etc/lighttpd/lighttpd.conf"]