How to fix " Error response from daemon: No command specified"?

Can you build the image without Docker Compose?