I am trying to run a custom settings.js on my N-R docker contrainer. I tried couple of methods, but non of it is working.
tried to copy and replace the exisiting "settings.js" to the /data directory in the container
created a volume and saved the new "settings.js" in the volume and tried to run the container using
"sudo docker run -it -p 1880:1880 -v avolume:/data mynode-red"
tried to use "--settings" to specify my new settings file in the run command
"sudo docker run -it -p 1880:1880 -v avolume:/data --settings settings.js mynode-red" (the settings
.js is copied to the work directory in the container )
can someone tell me how to fix it.
because everythime i run the node-red the default settings.js is being run inside the /data directory.
You can see my Dockerfile below