fix(ci): install Sharp platform dependencies
This commit is contained in:
@@ -7,7 +7,8 @@ ARG NPM_REGISTRY=https://package-mirror.liara.ir/repository/npm/
|
||||
COPY package.json package-lock.json ./
|
||||
RUN npm ci \
|
||||
--registry="${NPM_REGISTRY}" \
|
||||
--replace-registry-host=registry.npmjs.org
|
||||
--replace-registry-host=registry.npmjs.org \
|
||||
--include=optional
|
||||
|
||||
COPY . .
|
||||
RUN npm run build
|
||||
|
||||
Reference in New Issue
Block a user