Created
September 16, 2020 14:14
-
-
Save ThomasPe/4f15c837c0dfc838dc58c9bd8377958b to your computer and use it in GitHub Desktop.
Docker configuration for using noble / BLE in Azure IoT Edge
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM node:10-slim | |
RUN apt-get update || : && apt-get -y install bluetooth bluez libbluetooth-dev libudev-dev build-essential make python | |
WORKDIR /app/ | |
COPY package*.json ./ | |
RUN npm install --production | |
COPY app.js ./ | |
USER root | |
CMD ["node", "app.js"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment