fix: Strip darwin dependency from package.json in Docker build

This commit is contained in:
SysVis AI 2026-01-05 18:42:23 +07:00
parent fb3e812e1a
commit bf9d5766b8

View file

@ -4,7 +4,9 @@ FROM node:20-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN rm package-lock.json && npm install
RUN rm package-lock.json && \
sed -i '/@rollup\/rollup-darwin-arm64/d' package.json && \
npm install
COPY . .
RUN npm run build