mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-01-23 02:35:14 +00:00
Attempt to work around known npm bug for ARM.
This commit is contained in:
parent
a0745fcaa5
commit
bbb559d1cd
1 changed files with 4 additions and 4 deletions
|
|
@ -7,10 +7,10 @@ ARG BASE_TAG=base
|
|||
FROM node:24 AS frontend-builder
|
||||
|
||||
WORKDIR /app/frontend
|
||||
COPY ./frontend /app/frontend
|
||||
|
||||
# Install dependencies and build using npm
|
||||
RUN npm install || (find /tmp -name build.log -exec cat {} \; && exit 1)
|
||||
COPY frontend/package*.json ./
|
||||
# include platform marker so install layer is different per platform
|
||||
RUN npm ci --prefer-offline --no-audit --unsafe-perm || (rm -rf node_modules package-lock.json && npm install --unsafe-perm)
|
||||
COPY frontend/ ./
|
||||
RUN npm run build
|
||||
RUN rm -rf node_modules .cache
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue