# Docker Deployment

## Building

```bash
docker build -t orxaq/orxaq:latest .
```

## Running

```bash
# Basic run
docker run -p 8741:8741 orxaq/orxaq:latest

# With environment configuration
docker run -p 8741:8741 \
  -e ORXAQ_LOG_LEVEL=DEBUG \
  -e ORXAQ_AUTH_ENABLED=true \
  orxaq/orxaq:latest

# With data volume
docker run -p 8741:8741 \
  -v $(pwd)/data:/app/data \
  orxaq/orxaq:latest
```

## Image Details

- **Base**: `python:3.12-slim`
- **User**: Non-root (`orxaq` user, UID 1000)
- **Port**: 8741
- **Health check**: `curl http://localhost:8741/api/status` every 30s
- **Working directory**: `/app`
