fix: Fix Docker build hanging (#26547)

This commit is contained in:
Koen Kanters
2025-03-01 21:13:30 +01:00
committed by GitHub
parent 29d25aed66
commit e050e209b0
+1 -1
View File
@@ -20,7 +20,7 @@ FROM base AS deps
COPY package.json pnpm-lock.yaml ./
# Make and such are needed to compile serialport for riscv64
RUN apk add make gcc g++ python3 linux-headers npm && \
npm install -g pnpm && \
npm install -g pnpm@10.4.1 && \
pnpm install --frozen-lockfile --no-optional && \
# serialport has outdated prebuilds that appear to fail on some archs, force build on target platform
rm -rf `find ./node_modules/.pnpm/ -wholename "*/@serialport/bindings-cpp/prebuilds" -type d` && \