Files
dokploy-dashboard-pro/next.config.js

17 lines
331 B
JavaScript
Raw Normal View History

/** @type {import('next').NextConfig} */
const nextConfig = {
experimental: {
appDir: true,
},
// Allow access to Docker socket
webpack: (config, { isServer }) => {
if (isServer) {
config.externals.push({
'dockerode': 'dockerode'
});
}
return config;
}
};
module.exports = nextConfig;