Docker container behind quake.jerryaldrichiii.com
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.
 
 

24 lines
442 B

FROM alpine:latest as build
RUN apk add --no-cache bash wget jq
WORKDIR /src
RUN wget https://steamforge.net/files/quakejs/get_assets.sh
RUN bash get_assets.sh
FROM alpine:latest
RUN apk add --no-cache lighttpd
RUN chown -R lighttpd /var/log/lighttpd
USER lighttpd
COPY lighttpd.conf /etc/lighttpd/lighttpd.conf
COPY --from=build /src/assets /srv/http/assets
EXPOSE 8080
CMD ["lighttpd", "-D", "-f", "/etc/lighttpd/lighttpd.conf"]