WuGuan commited on
Commit
e57c3c9
·
verified ·
1 Parent(s): 168ef74

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -15,3 +15,6 @@ COPY flows.json /usr/src/node-red/flows.json
15
 
16
  # 安装节点
17
  RUN npm install -g node-red-node-email
 
 
 
 
15
 
16
  # 安装节点
17
  RUN npm install -g node-red-node-email
18
+
19
+ # 启动 Node-RED
20
+ CMD ["node-red", "--userDir", "/usr/src/node-red"]