import { NextResponse } from "next/server"; import { listContainers, getLlamaHealth, NODE_INSTANCE } from "@/lib/docker"; export const dynamic = "force-dynamic"; export const runtime = "nodejs"; export async function GET() { const [containers, llamaHealth] = await Promise.all([ listContainers(), getLlamaHealth(), ]); return NextResponse.json({ instance: NODE_INSTANCE, containers, llamaHealth, timestamp: new Date().toISOString(), }); }