17 lines
331 B
JavaScript
17 lines
331 B
JavaScript
/** @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; |