I was trying to build my Docker image for my Gatsby Application. Whenever I run the command docker build . -t gatsbyapp, it gives me an error:
docker build . -t gatsbyapp
f
Make sure you .dockerignore doesn't match your file.
.dockerignore