Skip to content

Commit

Permalink
Merge pull request #46 from merlinschumacher/master
Browse files Browse the repository at this point in the history
Fix bluetooth integration
  • Loading branch information
pinae authored Feb 4, 2021
2 parents 93b3333 + 954d9e1 commit 1cfed90
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docker-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down Expand Up @@ -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" ]
CMD ["/bin/sh", "/usr/src/node-red/entrypoint.sh" ]
5 changes: 3 additions & 2 deletions docker-image/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "*"
}
}
}

0 comments on commit 1cfed90

Please sign in to comment.