From 83db81a7b20d8ae8a895018e402c7723d2646284 Mon Sep 17 00:00:00 2001 From: Braulio Date: Tue, 24 Feb 2026 17:03:13 +0100 Subject: [PATCH] update --- front/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/front/Dockerfile b/front/Dockerfile index fc14606..4724e7d 100644 --- a/front/Dockerfile +++ b/front/Dockerfile @@ -22,8 +22,11 @@ COPY . . # hijacking yarn calls that Next.js SWC patching makes internally. # Then rebuild native modules (e.g. @tailwindcss/oxide) that were # skipped by --ignore-scripts above. +# Finally, install the musl binary for tailwindcss/oxide +# (the lock file only has darwin-arm64, not linux-x64-musl). RUN node -e "const p='package.json',j=JSON.parse(require('fs').readFileSync(p));delete j.packageManager;require('fs').writeFileSync(p,JSON.stringify(j,null,2))" \ - && npm rebuild + && npm rebuild \ + && cd front && npm install @tailwindcss/oxide-linux-x64-musl --no-save # 5) Build the internal dependency used by the front (db-model) RUN npm run -w db-model build --if-present