Skip to content

Commit b463ecd

Browse files
committed
install nano editor in node-red container
1 parent d9be24e commit b463ecd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

node-red/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ FROM nodered/node-red-docker:rpi-v8
66
#COPY settings.js /data
77

88
# installing an editor
9-
RUN sudo apt-get update && sudo apt-get install nano
9+
USER ROOT
10+
RUN apt-get update && apt-get install nano
11+
USER node-red
1012

1113
RUN npm install node-red-contrib-resinio
1214
RUN npm install node-red-dashboard

0 commit comments

Comments
 (0)