Ao tentar rodar o comando: docker build -f Dockerfile -t manoelc/node . Ocorre o erro: λ docker build -f Dockerfile -t manoelc/node . Sending build context to Docker daemon 6.144kB Step 1/7 : FROM node:latest ---> 8a9f16c06013 Step 2/7 : MAINTAINER Manoel ---> Using cache ---> f665df115485 Step 3/7 : COPY . /var/www ---> Using cache ---> 275be1afddf5 Step 4/7 : WORKDIR /var/www ---> Using cache ---> ed136ee1b666 Step 5/7 : RUN npm install ---> Running in 11faf333fa8b npm ERR! code UNABLE_TO_GET_ISSUER_CERT_LOCALLY npm ERR! errno UNABLE_TO_GET_ISSUER_CERT_LOCALLY npm ERR! request to https://registry.npmjs.org/express failed, reason: unable to get local issuer certificate
npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/logs/2019-12-19T1739_05_410Z-debug.log The command '/bin/sh -c npm install' returned a non-zero code: 1
Dockerfile:
FROM node:latest MAINTAINER Manoel COPY . /var/www WORKDIR /var/www RUN npm install ENTRYPOINT ["npm", "start"] EXPOSE 3000