Failed To Resolve With FrontEnd DockerFIle.v0
I had the same issue and all I had to do was to capitalize the docker configuration filename
dockerfile > didn't work
Dockerfile > did work
I had this issue while trying to build my container running inside Windows Subsystem for Linux (WSL) and all I had to do was close the terminal and reopen my window and my issue was solved.
In my case I was trying to copy over
wp-content from my current directory, inside the docker image I was building. Like so:
FROM wordpress:latest # Copy wp-content COPY ./wp-content/ ./var/www/html/wp-content/
However, I noticed that I had a
.dockerignore file, which explicitly was told to ignore
When I removed
.dockerignore it worked fine.