Files
docs/apps/base-docs/Dockerfile
zeekay 87263adde1 Add base-docs app for base.hanzo.ai with landing page, docs, and K8s deployment
New docs site for Hanzo Base following the monorepo docs framework pattern:
- Landing page with feature grid, quick start, and architecture highlights
- 9 documentation sections: getting-started, collections, auth, realtime,
  file-storage, cloud-functions, SDK (JS + Go), and deployment
- K8s manifests for base.hanzo.ai (static docs) and api.base.hanzo.ai
  (multi-tenant Base platform with IAM/KMS integration)
- Dockerfile with nginx for static export serving
- Monochrome Hanzo theme via neutral.css + Geist fonts
2026-02-27 10:00:39 -08:00

16 lines
443 B
Docker

FROM node:22-slim AS build
WORKDIR /app
RUN npm install -g pnpm
# Copy workspace root
COPY pnpm-workspace.yaml pnpm-lock.yaml package.json ./
COPY packages/ ./packages/
COPY apps/base-docs/ ./apps/base-docs/
RUN pnpm install --frozen-lockfile
WORKDIR /app/apps/base-docs
RUN pnpm build
FROM nginx:alpine
COPY --from=build /app/apps/base-docs/out /usr/share/nginx/html
COPY apps/base-docs/nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 3000