mirror of
https://github.com/9technologygroup/patchmon.net.git
synced 2026-01-06 04:59:35 -06:00
debug: Add verbose logging to npm install for ARM64 builds
Added echo statements and --loglevel=verbose to see exactly what npm is doing during the long ARM64 build process. This will help diagnose why it's taking so long under QEMU emulation.
This commit is contained in:
@@ -24,9 +24,13 @@ WORKDIR /app/frontend
|
||||
|
||||
COPY frontend/package*.json ./
|
||||
|
||||
RUN npm cache clean --force &&\
|
||||
RUN echo "=== Starting npm install ===" &&\
|
||||
npm cache clean --force &&\
|
||||
rm -rf node_modules ~/.npm /root/.npm &&\
|
||||
npm install --legacy-peer-deps --no-audit --prefer-online --fetch-retries=3 --fetch-retry-mintimeout=20000 --fetch-retry-maxtimeout=120000
|
||||
echo "=== npm install with verbose logging ===" &&\
|
||||
npm install --legacy-peer-deps --no-audit --prefer-online --fetch-retries=3 --fetch-retry-mintimeout=20000 --fetch-retry-maxtimeout=120000 --loglevel=verbose &&\
|
||||
echo "=== npm install completed ===" &&\
|
||||
npm cache clean --force
|
||||
|
||||
COPY frontend/ ./
|
||||
|
||||
|
||||
Reference in New Issue
Block a user