import type { NextConfig } from "next";

const nextConfig: NextConfig = {
  // Use standalone output for Docker (smaller image)
  output: "standalone",

  // Performance optimizations
  poweredByHeader: false, // Remove X-Powered-By header (security)
  compress: true, // Enable gzip compression

  // Optional: Configure allowed image domains
  images: {
    remotePatterns: [
      {
        protocol: "https",
        hostname: "**",
      },
    ],
  },
};

export default nextConfig;
