2026-02-03 09:13:50 -08:00
|
|
|
# Quartz Static Site Server
|
|
|
|
|
# Downloads and serves a Quartz-built static site from a release bundle
|
|
|
|
|
#
|
|
|
|
|
# Configuration (via environment):
|
|
|
|
|
# DOCS_RELEASE_URL - URL to download the static site tarball
|
|
|
|
|
#
|
|
|
|
|
# The container downloads the tarball on startup, extracts it, and serves with nginx.
|
|
|
|
|
|
2026-02-20 22:50:01 -08:00
|
|
|
ARG CONTAINER_APP_VERSION=1.28.2
|
|
|
|
|
ARG NGINX_VERSION=${CONTAINER_APP_VERSION}
|
|
|
|
|
|
|
|
|
|
FROM nginx:${NGINX_VERSION}-alpine
|
2026-02-03 09:13:50 -08:00
|
|
|
|
2026-03-18 20:42:00 -07:00
|
|
|
ARG CONTAINER_APP_VERSION
|
|
|
|
|
LABEL org.opencontainers.image.title="Quartz"
|
|
|
|
|
LABEL org.opencontainers.image.description="Static site server for Quartz-built documentation"
|
|
|
|
|
LABEL org.opencontainers.image.version="${CONTAINER_APP_VERSION}"
|
|
|
|
|
LABEL org.opencontainers.image.source="https://forge.eblu.me/eblume/blumeops"
|
|
|
|
|
LABEL org.opencontainers.image.vendor="blumeops"
|
|
|
|
|
|
2026-02-03 09:13:50 -08:00
|
|
|
# Install curl for downloading release assets
|
|
|
|
|
RUN apk add --no-cache curl
|
|
|
|
|
|
2026-02-03 10:52:20 -08:00
|
|
|
# Copy startup script and nginx config
|
2026-02-03 09:13:50 -08:00
|
|
|
COPY start.sh /start.sh
|
2026-02-03 10:52:20 -08:00
|
|
|
COPY default.conf /etc/nginx/conf.d/default.conf
|
2026-02-03 09:13:50 -08:00
|
|
|
RUN chmod +x /start.sh
|
|
|
|
|
|
|
|
|
|
EXPOSE 80
|
|
|
|
|
|
|
|
|
|
CMD ["/start.sh"]
|