I am trying to run Node-red using Docker. My Dockerfile is as follows:
FROM nodered/node-red:latest-12-minimal COPY settings.js /data/ USER root RUN chown -R node-red:root /data USER node-red RUN npm install
I am using
docker build to create the image. After that when I start the container I get following error in the
Error: ENOENT: no such file or directory, open ‘/data/package.json’
The Node-red instance is working fine. But every time I install a node from Palette I get the same error. However the new node is also working properly.
Can someone please explain the significance of this error and how to resolve it?