FROM nodered/node-red # copy package.json to the WORKDIR so npm builds for node-red COPY package.json . RUN npm install --unsafe-perm --no-update-notifier --no-audit --only=production CMD ["npm", "start"]