node-red-contrib-password-g.../Docker/Dockerfile
yuto-yuto 2e1cab23a4 temp
2021-07-11 09:57:56 +02:00

9 lines
298 B
Docker

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