node-red-contrib-password-g.../Docker/Dockerfile

9 lines
296 B
Docker
Raw Normal View History

2021-07-09 03:49:18 +02:00
FROM nodered/node-red
# error without this
RUN mkdir -p ./password-generator/node_modules/
COPY ../package.json ../package-lock.json ./password-generator/
COPY ../dist ./password-generator/dist
RUN npm install ./password-generator --unsafe-perm --no-update-notifier --no-fund --only=production