Files
pruefwerk/Dockerfile.docs
T
Sharang ParnerkarandClaude Fable 5.1 9550effa34
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Check (pull_request) Successful in 5m56s
docs: serve the site under /docs/ (VitePress base + nginx)
On the platform cluster the docs are an orca route (/docs/*) on the
dashboard host, prefix not stripped. Build with base /docs/, copy the
dist to html/docs, redirect / → /docs/.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
2026-09-11 18:10:25 +02:00

17 lines
407 B
Docker

FROM node:22-alpine AS builder
WORKDIR /app
COPY docs/package.json docs/package-lock.json ./
RUN npm ci
COPY docs/ .
RUN npm run build
FROM nginx:alpine
RUN rm /etc/nginx/conf.d/default.conf
COPY docs/nginx.conf /etc/nginx/conf.d/default.conf
# base is /docs/ (see docs/.vitepress/config.mts) — the site lives under /docs/
COPY --from=builder /app/.vitepress/dist /usr/share/nginx/html/docs
EXPOSE 80