Skip to content

Commit 1cfed90

Browse files
authored
Merge pull request #46 from merlinschumacher/master
Fix bluetooth integration
2 parents 93b3333 + 954d9e1 commit 1cfed90

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

docker-image/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ COPY package.json .
4141
FROM base AS build
4242

4343
# Install Build tools
44-
RUN apk add --no-cache --virtual buildtools build-base linux-headers udev eudev-dev avahi-dev && \
44+
RUN apk add --no-cache --virtual buildtools build-base linux-headers udev eudev-dev avahi-dev libusb-dev libc-dev python3 && \
4545
npx npm-check-updates -u && \
4646
npm install --unsafe-perm --no-update-notifier --only=production --no-optional && \
4747
/tmp/remove_native_gpio.sh && \
@@ -101,4 +101,4 @@ EXPOSE 1880
101101
# Add a healthcheck (default every 30 secs)
102102
HEALTHCHECK CMD curl http://localhost:1880/ || exit 1
103103

104-
CMD ["/bin/sh", "/usr/src/node-red/entrypoint.sh" ]
104+
CMD ["/bin/sh", "/usr/src/node-red/entrypoint.sh" ]

docker-image/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
"node-red-contrib-noble-bluetooth": "*",
5454
"node-red-contrib-tado-client": "*",
5555
"node-red-contrib-zigbee2mqtt": "*",
56-
"node-red-dashboard": "*"
56+
"node-red-dashboard": "*",
57+
"@abandonware/bluetooth-hci-socket": "*"
5758
}
58-
}
59+
}

0 commit comments

Comments
 (0)