From 78ac9d4149bfa574f588c16283f2bab0bf0629c3 Mon Sep 17 00:00:00 2001 From: DerTyp7 Date: Mon, 6 Oct 2025 20:01:51 +0200 Subject: [PATCH] Fixed nextconfig for docker usage --- next.config.ts | 43 ++++++++++++++++++++++--------------------- 1 file changed, 22 insertions(+), 21 deletions(-) diff --git a/next.config.ts b/next.config.ts index 528628f..e8f9f8c 100644 --- a/next.config.ts +++ b/next.config.ts @@ -1,27 +1,28 @@ import type { NextConfig } from "next"; const nextConfig: NextConfig = { - experimental: { - serverActions: { - bodySizeLimit: '70mb', - }, - }, - images: { - remotePatterns: [ - { - protocol: 'https', - hostname: 'upload.wikimedia.org', - port: '', - pathname: '/wikipedia/commons/**', - }, - { - protocol: 'https', - hostname: 'static.vecteezy.com', - port: '', - pathname: '/**', - }, - ], - }, + output: "standalone", + experimental: { + serverActions: { + bodySizeLimit: "10gb", + }, + }, + images: { + remotePatterns: [ + { + protocol: "https", + hostname: "upload.wikimedia.org", + port: "", + pathname: "/wikipedia/commons/**", + }, + { + protocol: "https", + hostname: "static.vecteezy.com", + port: "", + pathname: "/**", + }, + ], + }, }; export default nextConfig;