fix: avoid armv7 desktop postinstall in docker build (#262)

This commit is contained in:
Cita
2026-03-23 20:24:37 +08:00
committed by GitHub
parent b07b16c942
commit b3869c4f55
2 changed files with 5 additions and 4 deletions
+2 -1
View File
@@ -10,7 +10,8 @@ RUN apt-get update \
ENV PYTHON=/usr/bin/python3
COPY package.json package-lock.json ./
RUN --mount=type=cache,target=/root/.npm npm ci --no-audit --no-fund
RUN --mount=type=cache,target=/root/.npm npm ci --ignore-scripts --no-audit --no-fund
RUN npm rebuild esbuild sharp better-sqlite3 --no-audit --no-fund
COPY . .
RUN npm run build:web && npm run build:server