Docker update

This commit is contained in:
2025-10-10 00:44:24 +05:30
parent 58ea820e14
commit 4389091095
2 changed files with 28 additions and 6 deletions

View File

@ -1,6 +1,8 @@
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
// Required for Docker standalone build
output: 'standalone',
/* config options here */
images: {
@ -19,12 +21,18 @@ const nextConfig: NextConfig = {
},
{
protocol: 'https',
hostname: 'yourproductiondomain.com', // Replace with your production domain
hostname: 'cmcbackend.rootwire.com',
pathname: '/api/files/images/**',
},
{
protocol: 'https',
hostname: 'maincmc.rootwire.com',
pathname: '/**',
}
],
// Minimize cache issues in production
minimumCacheTTL: 60,
},
};
export default nextConfig;
export default nextConfig;