diff --git a/docker-image/Dockerfile b/docker-image/Dockerfile index 9166dd6..d37802b 100644 --- a/docker-image/Dockerfile +++ b/docker-image/Dockerfile @@ -41,7 +41,7 @@ COPY package.json . FROM base AS build # Install Build tools -RUN apk add --no-cache --virtual buildtools build-base linux-headers udev eudev-dev avahi-dev && \ +RUN apk add --no-cache --virtual buildtools build-base linux-headers udev eudev-dev avahi-dev libusb-dev libc-dev python3 && \ npx npm-check-updates -u && \ npm install --unsafe-perm --no-update-notifier --only=production --no-optional && \ /tmp/remove_native_gpio.sh && \ @@ -101,4 +101,4 @@ EXPOSE 1880 # Add a healthcheck (default every 30 secs) HEALTHCHECK CMD curl http://localhost:1880/ || exit 1 -CMD ["/bin/sh", "/usr/src/node-red/entrypoint.sh" ] \ No newline at end of file +CMD ["/bin/sh", "/usr/src/node-red/entrypoint.sh" ] diff --git a/docker-image/package.json b/docker-image/package.json index 3a35dcd..29985f7 100644 --- a/docker-image/package.json +++ b/docker-image/package.json @@ -53,6 +53,7 @@ "node-red-contrib-noble-bluetooth": "*", "node-red-contrib-tado-client": "*", "node-red-contrib-zigbee2mqtt": "*", - "node-red-dashboard": "*" + "node-red-dashboard": "*", + "@abandonware/bluetooth-hci-socket": "*" } -} \ No newline at end of file +}