Archived
- next.config: output 'standalone' for a self-contained server bundle - Dockerfile: multi-stage Next.js build (node:22-alpine) - .gitea/workflows/deploy.yml: build + push to the Gitea registry
24 lines
429 B
TypeScript
24 lines
429 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
output: 'standalone', // self-contained server bundle for the Docker image
|
|
images: {
|
|
remotePatterns: [
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'itsthevine.com',
|
|
},
|
|
],
|
|
},
|
|
turbopack: {
|
|
rules: {
|
|
'*.svg': {
|
|
loaders: ['@svgr/webpack'],
|
|
as: '*.js',
|
|
},
|
|
},
|
|
}
|
|
};
|
|
|
|
export default nextConfig;
|