From 161686ff558739bb0870bc3c2f79c816e3e1c789 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Jos=C3=A9=20Pereira?= Date: Tue, 16 Apr 2024 18:34:17 -0300 Subject: [PATCH] Add and fix serial plugin MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Based on the following issue: https://github.com/node-red/node-red-nodes/issues/1027 Signed-off-by: Patrick José Pereira --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 19cdc90..8e0fee8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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