mirror of
https://github.com/vndangkhoa/Sys-Arc-Visl.git
synced 2026-04-05 01:17:57 +07:00
fix: Strip darwin dependency from package.json in Docker build
This commit is contained in:
parent
fb3e812e1a
commit
bf9d5766b8
1 changed files with 3 additions and 1 deletions
|
|
@ -4,7 +4,9 @@ FROM node:20-alpine AS builder
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY package*.json ./
|
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 . .
|
COPY . .
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue