mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-21 13:23:02 +01:00
update node-red
This commit is contained in:
@@ -24,9 +24,9 @@ RUN set -xe \
|
||||
python3-dev \
|
||||
&& rm -rf /tmp/npm-*
|
||||
|
||||
WORKDIR /root/.node-red
|
||||
VOLUME /root/.node-red
|
||||
WORKDIR /data
|
||||
VOLUME /data
|
||||
|
||||
EXPOSE 1880
|
||||
|
||||
CMD ["node-red"]
|
||||
CMD ["node-red", "--userDir", "/data"]
|
||||
|
||||
@@ -3,7 +3,7 @@ node-red:
|
||||
ports:
|
||||
- "1880:1880"
|
||||
volumes:
|
||||
- ./data:/root/.node-red
|
||||
- ./data:/data
|
||||
- /dev/input:/dev/input
|
||||
privileged: yes
|
||||
restart: always
|
||||
|
||||
Reference in New Issue
Block a user