mirror of
https://github.com/9technologygroup/patchmon.net.git
synced 2026-01-04 20:19:37 -06:00
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.
This commit is contained in:
@@ -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/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user