Files
nobat724_front/next.config.js
T
hamed 6f0c29d700 chore: update dependencies and add .dockerignore file
- Updated MUI packages to version 5.x and x-charts/x-date-pickers to 7.x
- Downgraded React and React-DOM to version 18.3.1
- Added .dockerignore to exclude unnecessary files from Docker context
2025-12-10 14:06:19 +03:30

29 lines
605 B
JavaScript

// next.config.js
const nextConfig = {
// Add other configurations below
reactStrictMode: true,
images: {
unoptimized: true,
remotePatterns: [
{
protocol: 'https',
hostname: 'back-dev.clinic-pro.ir',
},
{
protocol: 'https',
hostname: 'clinic-pro-back.ddev.site',
},
],
},
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;