FROM alpine:3.10 as base LABEL maintainers.1="Fanakis Apostolos " LABEL maintainers.2="Panagiotis Nikolaidis " RUN apk add --update --no-cache openrc lighttpd \ && rm -rf /var/cache/apk/* RUN rc-update add lighttpd default FROM base as final COPY lighttpd.conf /etc/lighttpd/lighttpd.conf EXPOSE 8000 STOPSIGNAL SIGTERM CMD ["lighttpd", "-D", "-f", "/etc/lighttpd/lighttpd.conf"]