All checks were successful
CI / Tests (push) Has been skipped
CI / Format (push) Successful in 3s
CI / Clippy (push) Successful in 3m7s
CI / Security Audit (push) Has been skipped
CI / Format (pull_request) Successful in 3s
CI / Clippy (pull_request) Successful in 3m5s
CI / Security Audit (pull_request) Has been skipped
CI / Tests (pull_request) Has been skipped
- Add external "Docs" link in sidebar with configurable DOCS_URL - Add Dockerfile.docs for VitePress static site (nginx) - Add DOCS_URL build arg to Dockerfile.dashboard - Run cargo fmt Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
13 lines
229 B
Docker
13 lines
229 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
|
|
COPY --from=builder /app/.vitepress/dist /usr/share/nginx/html
|
|
EXPOSE 80
|