chore(docker): update Docker and Next.js config

This commit is contained in:
2026-01-11 23:38:35 +01:00
parent bee5234944
commit b85841248d
4 changed files with 30 additions and 35 deletions

View File

@@ -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,