ERROR: "docker buildx build" requires exactly 1 argument

I am trying to build the Docker file getting error like ERROR: “docker buildx build” requires exactly 1 argument. Please help me on this

You probably did docker build or docker buildx build

Your error message dictates:

Usage: `docker buildx build [OPTIONS] PATH | URL

So… Specify a PATH