You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
433 B
21 lines
433 B
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
|
|
|