Personal site & blog for jeanlucmakiola.de. - Astro 7 static output; self-hosted Inter + JetBrains Mono (Fontsource) - Material 3 Expressive design tokens (red accent over neutral surfaces) - Home (hero + about + selected work + latest writing) - /work index + per-app pages (Calendula, Agendula, floret-kit) with build-time Gitea release tags, brand-icon link rows, features grid, and an at-a-glance facts panel - Blog via Markdown content collection; RSS, sitemap, robots, OG/SEO - Privacy-respecting Umami analytics, env-gated (off in dev) - Dockerfile (build -> Caddy) + Caddyfile for Coolify deploy Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
19 lines
526 B
Docker
19 lines
526 B
Docker
# --- Build stage: produce static dist/ ---
|
|
FROM node:22-alpine AS build
|
|
WORKDIR /app
|
|
|
|
# Install deps against the lockfile for reproducible builds.
|
|
COPY package.json package-lock.json* ./
|
|
RUN npm ci
|
|
|
|
COPY . .
|
|
# PUBLIC_* env vars are inlined at build time. In Coolify, set them as
|
|
# build-time variables so analytics is baked into the static output.
|
|
RUN npm run build
|
|
|
|
# --- Runtime stage: serve dist/ with Caddy ---
|
|
FROM caddy:2-alpine AS runtime
|
|
COPY Caddyfile /etc/caddy/Caddyfile
|
|
COPY --from=build /app/dist /srv
|
|
EXPOSE 80
|