Docker: Multistage builds result in multiple images
问题 Given this small example of a multistage build FROM node:10 AS ui-build WORKDIR /usr/src/app FROM node:10 AS server-build WORKDIR /root/ EXPOSE 3070 ENTRYPOINT ["node"] CMD ["index.js"] why does this result in 3 images on my local file system? "<none>";"<none>";"58d63982fbef";"2020-04-15 17:53:14";"912MB" "node";"10";"bd83fcefc19d";"2020-04-14 01:32:21";"912MB" "test";"latest";"3913dd4d03b6";"2020-04-15 17:53:15";"912MB" I expected two images, the base image and the server-build image. I used