chore(docker): update Docker and Next.js config
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import type { NextConfig } from "next";
|
||||
import path from "path";
|
||||
|
||||
const withPWA = require("@ducanh2912/next-pwa").default({
|
||||
dest: "public",
|
||||
@@ -12,10 +11,8 @@ const nextConfig: NextConfig = {
|
||||
// Enable standalone output for Docker
|
||||
output: 'standalone',
|
||||
|
||||
turbopack: {
|
||||
// Set root to parent directory to support monorepo workspace structure
|
||||
root: path.resolve(__dirname, ".."),
|
||||
},
|
||||
// Disable Turbopack for Docker builds - use Webpack instead
|
||||
// Turbopack has issues with Tailwind CSS 4 in Docker containers
|
||||
|
||||
// Optimize for production
|
||||
reactStrictMode: true,
|
||||
|
||||
Reference in New Issue
Block a user