Docker update

This commit is contained in:
2025-10-10 01:21:16 +05:30
parent bde2b12a95
commit 697ecebd0f

View File

@ -1,37 +1,27 @@
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
// Required for Docker standalone build
output: 'standalone',
output: "standalone",
/* config options here */
images: {
unoptimized: true, // ✅ disable Next.js optimization
remotePatterns: [
{
protocol: 'https',
hostname: 'images.unsplash.com',
port: '',
pathname: '/**',
protocol: "https",
hostname: "images.unsplash.com",
pathname: "/**",
},
{
protocol: 'http',
hostname: 'localhost',
port: '8080',
pathname: '/api/files/images/**',
protocol: "https",
hostname: "cmcbackend.rootxwire.com",
pathname: "/**",
},
{
protocol: 'https',
hostname: 'cmcbackend.rootxwire.com',
pathname: '/api/files/images/**',
protocol: "https",
hostname: "maincmc.rootxwire.com",
pathname: "/**",
},
{
protocol: 'https',
hostname: 'maincmc.rootxwire.com',
pathname: '/**',
}
],
// Minimize cache issues in production
minimumCacheTTL: 60,
},
};