This repository has been archived on 2026-09-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
itsthevine/next.config.ts
T
austin 91a37a8d06 Add Docker build + Gitea Actions CI for self-hosting
- 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
2026-07-22 10:44:04 -05:00

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;