From 146b6c386041b5139e3a1dff0688c7bbaaa88ea1 Mon Sep 17 00:00:00 2001 From: Koen Kanters Date: Fri, 13 Dec 2024 21:05:27 +0100 Subject: [PATCH] fix(ignore): Rebuild serialport, attempt to fix #25092 --- docker/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index d3eb370161..397b4e6f37 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -21,7 +21,10 @@ 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 && \ - pnpm install --frozen-lockfile --no-optional + pnpm install --frozen-lockfile --no-optional && \ + # Serialport requires to be re-build, otherwise starts fails + # See e.g. https://github.com/Koenkk/zigbee2mqtt/issues/25092 + pnpm rebuild # Release FROM base AS release