FROM alpine:latest as build RUN apk add --no-cache git WORKDIR /src RUN git clone --depth=1 https://github.com/glennhartmann/quakejs FROM jerryaldrichiii/lighttpd:1.4.64-r0 EXPOSE 8080 COPY --from=build /src/quakejs/html/ /srv/html/ USER lighttpd RUN rm /srv/html/index.html RUN mkdir -p /tmp/bootstrap COPY index.html.template /tmp/bootstrap/index.html.template COPY entrypoint.sh /docker-entrypoint.d/10-quakejs-client.sh