Skip to main content

Deployment

Build

cd client
pnpm build

Docker

A client/Dockerfile is provided.
docker build -t posthoot-client ./client

Vercel

  • Import the client directory
  • Set environment variables
  • Framework: Next.js

Nginx (self-host)

  • Serve .next/standalone output behind Nginx/Reverse proxy
  • Ensure NEXTAUTH_URL matches your public URL

Environment

See Client Environment