Container (nginx:alpine), k8s manifests, ArgoCD app, Caddy route, and deploy workflow. Content is built and released from the separate cv repo (forge.ops.eblu.me/eblume/cv). Also removes unnecessary sh -c wrapper around tar in build_docs Dagger function. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
21 lines
542 B
Docker
21 lines
542 B
Docker
# CV/Resume Static Site Server
|
|
# Downloads and serves a CV site tarball (HTML+CSS+PDF) via nginx
|
|
#
|
|
# Configuration (via environment):
|
|
# CV_RELEASE_URL - URL to download the CV content 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"]
|