All checks were successful
Build Container / build (push) Successful in 15s
Heredocs in RUN aren't supported without BuildKit. Move nginx config to separate file and COPY it instead. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
21 lines
548 B
Docker
21 lines
548 B
Docker
# 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.
|
|
|
|
FROM nginx:alpine
|
|
|
|
# Install curl for downloading release assets
|
|
RUN apk add --no-cache curl
|
|
|
|
# Copy startup script and nginx config
|
|
COPY start.sh /start.sh
|
|
COPY default.conf /etc/nginx/conf.d/default.conf
|
|
RUN chmod +x /start.sh
|
|
|
|
EXPOSE 80
|
|
|
|
CMD ["/start.sh"]
|