Last active
September 26, 2021 13:10
-
-
Save thomasvnl/328f510de476a8c2b973446fb9dcd4c1 to your computer and use it in GitHub Desktop.
Dockerfile for NodeRED with dialout group permission so it can access COM/(USB)tty devices on the host (like the ConBee USB stick, or RFLink)
This file contains 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 nodered/node-red | |
USER root | |
RUN addgroup node-red dialout | |
USER node-red |
This file contains 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
docker image build -t noderedwithdialout . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment