I was trying to build this docker image based on the following Dockerfile until this happened

  docker, dockerfile, node.js

Command that triggered this error:

docker build -t developerfolio:latest .

DockerFile:

FROM node:10.16.0-alpine

WORKDIR ./app

COPY package*.json ./

RUN npm install

RUN npm audit fix

COPY . /app

EXPOSE 3000

CMD ["npm", "start"]

Error message snapshot (Terminal):

Source: Docker Questions

LEAVE A COMMENT