Update Dockerfile
Browse files- 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"]
|