Files
ESPDocs/next.config.mjs
Lucas RayanandClaude Sonnet 5.5 fd45d80287
CI / Trivy (dependências e segredos) (push) Successful in 42s
CI / Lint, design e build (push) Canceled after 2m18s
CI / Imagem Docker (push) Canceled after 1m34s
CI / Trivy (dependências e segredos) (push) Successful in 36s
CI / Lint, design e build (push) Successful in 2m59s
CI / Imagem Docker (push) Successful in 2m59s
Release / ci (push) Successful in 3m37s
Release / Publica a imagem (linux/arm64) (push) Successful in 4m21s
docker: image for the Oracle server, Trivy gate, and a release workflow
Next standalone build in three stages, non-root, healthchecked. next 15.5.28
(image-optimiser RCE) with postcss pinned past the copy bundled by next.
release.yml publishes linux/arm64 to the Gitea registry. The book/ directory is
a repository of its own and stays out of the build context.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-30 11:20:05 -03:00

17 lines
452 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
// A imagem Docker liga isto (NEXT_OUTPUT=standalone) para empacotar só o que
// o servidor usa. Fora dela o build continua igual: `next start`/pm2.
output: process.env.NEXT_OUTPUT === "standalone" ? "standalone" : undefined,
experimental: {
optimizePackageImports: [
"lucide-react",
],
},
images: {
formats: ["image/avif", "image/webp"],
},
};
export default nextConfig;