Skip to Content
DeploymentDeploy this docs site

Deploy this docs site

The Nextra site lives in www/ at the kit repo root. It builds as a standalone Next.js app.

Local

cd sumx-ssr-kit pnpm install pnpm run docs:dev # http://localhost:3100 pnpm run docs:build pnpm run docs:start

Docker

Build context must be the monorepo root (the Dockerfile copies package.json, www/, and workspace packages).

From sumx-kit root:

pnpm run docs:docker:build pnpm run docs:docker:run

Or manually:

docker build -f www/Dockerfile -t sumx-kit-docs . docker run --rm -p 3100:3000 sumx-kit-docs

From www/ (context is parent directory):

pnpm run docker:build pnpm run docker:run

Do not run docker build . inside www/ — that omits the repo root and fails on COPY www/package.json.

Open http://localhost:3100 

Production notes

  • Set NODE_ENV=production.
  • Put behind HTTPS reverse proxy (nginx, Azure App Service, etc.).
  • Optional: set PORT env (image defaults to 3000).

Build context

The Dockerfile uses the monorepo root so pnpm install can resolve the workspace. Only www/ is required at runtime.