chore: переход на static export + nginx для деплоя

Конфигурация совместима с Gitea CI/CD инфраструктурой:
- Static export вместо standalone Node.js
- Nginx для раздачи статики
- Docker multi-stage build

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Денис Шкабатур
2026-02-11 13:06:56 +03:00
parent 72e07dad3d
commit fa9de0d94d
4 changed files with 34 additions and 49 deletions

View File

@@ -1,15 +1,11 @@
import type { NextConfig } from 'next';
const nextConfig: NextConfig = {
output: 'standalone',
output: 'export',
images: {
remotePatterns: [
{
protocol: 'https',
hostname: 'images.unsplash.com',
},
],
unoptimized: true,
},
trailingSlash: true,
};
export default nextConfig;