SEGUE O CODIGO
FROM node:latest MAINTAINER Rafael COPY . /var/www WORKDIR /var/www RUN npm install ENTRYPOINT npm start EXPOSE 3000
[AJUDA] Agora esta dando esse erro...ele não cria a "image" "rafael/node" Eles começa a fazer download, de alguma coisa, depois para sozinho..
C:\Users\rafael.bastos> docker build -f C:\Users\rafael.bastos\Desktop\volume-exemplo\Dockerfile -t rafael/node . [+] Building 16.4s (5/8) => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 32B 0.0s => [internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => [internal] load metadata for docker.io/library/node:latest 0.0s => CANCELED [internal] load build context 16.3s => => transferring context: 1.27GB 16.3s => CACHED [1/4] FROM docker.io/library/node:latest 0.0s error from sender: context canceled