From 6792f96af9602ff1940d4e6274927bee44d6d658 Mon Sep 17 00:00:00 2001 From: Muhammad Ibrahim Date: Tue, 28 Oct 2025 16:39:27 +0000 Subject: [PATCH] fix: Ensure rollup ARM64 native binaries are installed in frontend build Removed --ignore-scripts flag and added cache cleanup to ensure optional dependencies like @rollup/rollup-linux-arm64-musl are properly installed. This mirrors the fix applied to the backend Dockerfile for ARM64 support. --- docker/frontend.Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docker/frontend.Dockerfile b/docker/frontend.Dockerfile index fd02ec0..1f668d0 100644 --- a/docker/frontend.Dockerfile +++ b/docker/frontend.Dockerfile @@ -22,7 +22,9 @@ WORKDIR /app COPY package*.json ./ COPY frontend/package*.json ./frontend/ -RUN npm ci --ignore-scripts +RUN npm cache clean --force &&\ + rm -rf node_modules ~/.npm /root/.npm &&\ + npm ci --legacy-peer-deps --no-audit --prefer-online --fetch-retries=0 COPY frontend/ ./frontend/