// next.config.js
const nextConfig = {
  output: "standalone",
  // Add other configurations below
  reactStrictMode: true,
  swcMinify: true,
  experimental: {
    missingSuspenseWithCSRBailout: false,
  },
  images: {
    domains: ["back-dev.clinic-pro.ir"],
  },
  env: {
    // Make DEV_MODE available to the application
    DEV_MODE: process.env.DEV_MODE,
  },
  // Additional configuration for better Docker support
  trailingSlash: false,
  compress: true,
  poweredByHeader: false,
};

module.exports = nextConfig;
