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
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>
17 lines
452 B
JavaScript
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;
|