> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xem.email/llms.txt
> Use this file to discover all available pages before exploring further.

# Client Deployment

> How to deploy the Posthoot client

# Deployment

## Build

```bash theme={"dark"}
cd client
pnpm build
```

## Docker

A `client/Dockerfile` is provided.

```bash theme={"dark"}
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](/client/env)
