fix docker setup
This commit is contained in:
@@ -1,9 +1,14 @@
|
||||
/** @type {import('next').NextConfig} */
|
||||
|
||||
import path from 'path';
|
||||
import { fileURLToPath } from 'url';
|
||||
|
||||
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
||||
|
||||
const nextConfig = {
|
||||
reactStrictMode: true,
|
||||
// Fix for Next.js 13+ Turbopack in monorepos to correctly identify the workspace root
|
||||
outputFileTracingRoot: '/Users/marcmintel/Projects/gridpilot',
|
||||
// Fix for monorepos: point tracing to repo root (portable across machines/containers)
|
||||
outputFileTracingRoot: path.join(__dirname, '../..'),
|
||||
images: {
|
||||
remotePatterns: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user