I'm trying to build a new image with docker, but when I enter the build command:
docker image build -t vue-app .
I get this error:
[+] Building 0.2s (2/2) FINISHED
=> [internal] load build definition from Dockerfile 0.1s
=> => transferring dockerfile: 229B 0.0s
=> [internal] load .dockerignore 0.2s
=> => transferring context: 67B 0.0s
ERROR: failed to solve: Internal: Internal: stream terminated by RST_STREAM with error code: INTERNAL_ERROR
Also my Dockerfile is
FROM node:latest
WORKDIR /app
COPY . .
RUN npm install
CMD ["npm", "run", "dev"]
I would be grateful if you can help me.
I tried:
- restarting my machine;
- creating a .dockerignore file;
- changing ports;