mirror of
https://github.com/hanzoai/billing.git
synced 2026-10-30 18:46:54 +00:00
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]>
14 lines
321 B
Docker
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;"]
|