Skip to content

Commit

Permalink
fix(ignore): Rebuild serialport, attempt to fix #25092
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk committed Dec 13, 2024
1 parent 2b08c68 commit 146b6c3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 146b6c3

Please sign in to comment.