From 237e7c06af064f087b2a8f44b9094069028e5a43 Mon Sep 17 00:00:00 2001 From: kayjaydee Date: Wed, 22 Apr 2026 22:36:50 +0200 Subject: [PATCH] fix(nuxt.config): add hook to prevent Docker build hangs due to esbuild zombie process --- nuxt.config.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nuxt.config.ts b/nuxt.config.ts index cab589d..81993bc 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -1,6 +1,13 @@ export default defineNuxtConfig({ compatibilityDate: '2026-04-21', ssr: true, + // Workaround for nuxt/nuxt#33987: esbuild zombie from fontless (@nuxt/ui → @nuxt/fonts) + // keeps the Node process alive after "Build complete!", causing Docker builds to hang. + hooks: { + close: () => { + process.exit(0) + }, + }, css: ['~/assets/css/main.css'], modules: [ '@nuxt/ui',