Skip to content

Commit 6b4e816

Browse files
authored
Merge branch 'node-red:master' into master
2 parents 8107125 + 650a552 commit 6b4e816

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

.docker/Dockerfile.alpine

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ RUN chown -R node-red:root /usr/src/node-red && \
8282
rm -r /tmp/*
8383

8484
RUN npm config set cache /data/.npm --global
85+
RUN npm config set python `which python3` --global
8586

8687
USER node-red
8788

docker-custom/Dockerfile.custom

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ RUN chown -R node-red:root /usr/src/node-red && \
8080
rm -r /tmp/*
8181

8282
RUN npm config set cache /data/.npm --global
83+
RUN npm config set python `which python3` --global
8384

8485
USER node-red
8586

docker-custom/Dockerfile.debian

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ RUN chown -R node-red:root /usr/src/node-red && \
8181
rm -r /tmp/*
8282

8383
RUN npm config set cache /data/.npm --global
84+
RUN npm config set python `which python3` --global
8485

8586
USER node-red
8687

docker-custom/scripts/entrypoint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ function stop() {
77
wait $CHILD_PID
88
}
99

10-
/usr/local/bin/node $NODEOPTIONS node_modules/node-red/red.js --userDir /data $FLOWS &
10+
/usr/local/bin/node $NODE_OPTIONS node_modules/node-red/red.js --userDir /data $FLOWS &
1111

1212
CHILD_PID="$!"
1313

14-
wait "${CHILD_PID}"
14+
wait "${CHILD_PID}"

0 commit comments

Comments
 (0)