File size: 387 Bytes
aec7019
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
# Node-RED + OPC UA 通用采集层;端点与点位由后台配置中心动态下发
FROM nodered/node-red:latest

# 固定已在树莓派验证过的版本,避免 latest 变化导致现场流程不兼容
RUN npm install --unsafe-perm --no-update-notifier --no-fund node-red-contrib-opcua@0.2.354

COPY --chown=node-red:node-red flows-configurable.json /data/flows.json

EXPOSE 1880