Files
b83c009ff5 ci: containerize + arcd GHCR semver build (DOKS deploy) (#1)
Containerize apps/web (@hanzo/waitlist-demo, Next.js 16). Enable Next
standalone output (output: standalone + outputFileTracingRoot for the
pnpm monorepo so the @hanzo/waitlist widget is bundled). Add multi-stage
Dockerfile (pnpm+turbo build -> minimal node:22-slim standalone server,
no nginx/caddy, port 3000) and .github/workflows/build.yml that
builds+pushes ghcr.io/hanzoai/waitlist on v* tags via the canonical
hanzoai/.github docker-build reusable workflow on the self-hosted arcd
fleet. Semver-only tags.

Co-authored-by: hanzo-dev <[email protected]>
2026-06-19 16:22:47 -07:00

16 lines
525 B
JavaScript

import { fileURLToPath } from 'node:url'
import { dirname, join } from 'node:path'
const __dirname = dirname(fileURLToPath(import.meta.url))
/** @type {import('next').NextConfig} */
const nextConfig = {
// Emit a self-contained server bundle for the container runtime.
output: 'standalone',
// This app lives in a pnpm workspace; point file-tracing at the repo
// root so the @hanzo/waitlist workspace dep is bundled into standalone.
outputFileTracingRoot: join(__dirname, '../../'),
}
export default nextConfig