Skip to content

Commit

Permalink
Add and fix serial plugin
Browse files Browse the repository at this point in the history
Based on the following issue: node-red/node-red-nodes#1027

Signed-off-by: Patrick José Pereira <[email protected]>
  • Loading branch information
patrickelectric committed Apr 16, 2024
1 parent 7ed99ab commit f5cee40
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ USER root

RUN apk update && apk add nginx

RUN cd /usr/src/node-red && npm install node-red-node-serialport
RUN cd /usr/src/node-red/node_modules/@serialport/bindings-cpp && npm run rebuild

RUN mkdir -p /service
COPY nginx.conf /etc/nginx/nginx.conf
COPY register_service /service/register_service
Expand Down

0 comments on commit f5cee40

Please sign in to comment.