Some checks are pending
CI / validate (push) Waiting to run
Astro-Landing als neuer Apex-Container (:3202), gebaut mit @mana/marketing-kit. Probe-Cutover der Welle-1-Charge (niedrigstes Compliance-Risiko, höchste Ship-Reife). Anki-Migration als Akquise-Anker; /anki-import als dedicated Long-Tail-Page mit 3-Schritt-Anleitung + FAQ + JSON-LD FAQPage (Sitemap-Priorität 0.95). - apps/landing/ — index, anki-import, ueber, mitwirken + robots/llms/sitemap-Endpoints - infrastructure/macmini/docker-compose.landing.yml — Port 3202 - .gitignore += .astro Cutover-Playbook: mana/docs/playbooks/LANDING_CUTOVER.md Domain-Status: wordeck.com → :3202 (Marketing, NEU) www.wordeck.com → :3202 (Marketing, NEU) app.wordeck.com → :5181 (Web-App, NEU als Subdomain) api.wordeck.com → :3191 (API, unverändert) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
31 lines
1.1 KiB
Docker
31 lines
1.1 KiB
Docker
# Multi-stage build for the wordeck-landing Astro surface.
|
|
#
|
|
# Build context is the repo root (set in
|
|
# infrastructure/macmini/docker-compose.landing.yml as `../..`).
|
|
#
|
|
# NPM_AUTH_TOKEN is required at build time (BuildKit secret) so pnpm
|
|
# can fetch @mana/marketing-kit from npm.mana.how (Verdaccio).
|
|
|
|
FROM node:20-alpine AS builder
|
|
WORKDIR /repo
|
|
RUN corepack enable && corepack prepare pnpm@9.15.9 --activate
|
|
|
|
# Workspace shell first (cache-friendly).
|
|
COPY package.json pnpm-workspace.yaml pnpm-lock.yaml .npmrc ./
|
|
COPY apps/landing/package.json ./apps/landing/
|
|
|
|
RUN --mount=type=secret,id=npm_token,env=NPM_AUTH_TOKEN \
|
|
pnpm install --filter @wordeck/landing --frozen-lockfile 2>/dev/null \
|
|
|| pnpm install --filter @wordeck/landing
|
|
|
|
COPY apps/landing ./apps/landing
|
|
|
|
WORKDIR /repo/apps/landing
|
|
RUN pnpm build
|
|
|
|
FROM nginx:1.27-alpine AS production
|
|
COPY --from=builder /repo/apps/landing/dist /usr/share/nginx/html
|
|
COPY apps/landing/infrastructure/nginx.conf /etc/nginx/conf.d/default.conf
|
|
EXPOSE 80
|
|
HEALTHCHECK --interval=30s --timeout=5s --retries=3 \
|
|
CMD wget -qO- http://127.0.0.1/ >/dev/null 2>&1 || exit 1
|