import path from "node:path"; import type { NextConfig } from "next"; const nextConfig: NextConfig = { // Server Actions here run `docker`/`docker compose`/`mariadb` calls, not // page rendering — nothing about this app benefits from static export or // the standalone output trimming the main app also opts out of (see // ../Dockerfile's own header for the same reasoning). // This directory has its own package-lock.json alongside the main // app's at the repo root — without this, Next infers the wrong // workspace root from the nearest lockfile and warns about it on every // build. turbopack: { root: path.join(__dirname), }, }; export default nextConfig;