Skip to content

Commit 93d023f

Browse files
authored
Apply suggestion from @knolleary
1 parent 901698c commit 93d023f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

node-red-container/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@ FROM nodered/node-red:3.1.15-18
22

33
ARG BUILD_TAG=latest
44

5+
USER root
56
RUN npm install -g npm
7+
RUN chown -R 1000:1000 "/data/.npm"
8+
9+
USER node-red
610

711
COPY healthcheck.js /healthcheck.js
812

0 commit comments

Comments
 (0)