Files
billing/Dockerfile
zooqueenandHanzo Dev 2a069e2abf Initial billing portal app
Standalone Next.js 16 app for billing.hanzo.ai with:
- @hanzo/ui/billing BillingWorkspace integration (subscriptions, payments, invoices, business, tax)
- @hanzo/commerce API client for balance, deposits, plans, subscriptions
- @hanzo/auth IAM authentication with OIDC/PKCE flow
- BalancePanel component for viewing balance and adding funds
- Multi-brand org config (hanzo first, extensible)
- Static export to nginx container
- CI workflow for build + typecheck

Co-authored-by: Hanzo Dev <[email protected]>
2026-02-23 18:15:31 -08:00

14 lines
321 B
Docker

FROM node:20-alpine AS builder
RUN corepack enable
WORKDIR /app
COPY package.json pnpm-lock.yaml ./
RUN pnpm install --frozen-lockfile
COPY . .
RUN pnpm build
FROM nginx:alpine
COPY --from=builder /app/out /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]