node-red / cookbook.nodered.org

Node-RED Cookbook
http://cookbook.nodered.org
Apache License 2.0
84 stars 34 forks source link

Feedback on 'Serve a local file' #108

Open Kortenbach opened 2 years ago

Kortenbach commented 2 years ago

Where do I put the png file (docker)

iotregenesis commented 3 months ago

Where do I put the png file (docker)

In my case, where I used this command to run my NR: docker run -it -p 1880:1880 -v /home/fhy/Workspace/Docker/node-red/data:/data --name mynodered nodered/node-red I put my png file in /home/fhy/Workspace/Docker/node-red/data and in flow editor I access the file with this path /data/file.png