I am getting an error while running the build command. Please help me in solving this.
Content in Dockerfile:
FROM node:latest
WORKDIR /app
COPY . .
RUN npm install
EXPOSE 4000
CMD ["node", "app.js"]
Command running in Terminal:
docker build -t myapp .
Error: ERROR: failed to update builder last activity time: open C:\Users\srika\.docker\buildx\activity\.tmp-desktop-linux2899265835: The system cannot find the file specified.
Please let me know if I need to create this file before running the command and if yes, please let me know the reason for this.
Thanks for your reply. It was some permission issue with my computer. Everything worked well once I reset my PC. I had some similar issues with other apps and this solved the error.