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

You are using an other Dockerfile. Look at the steps during the build:

  • FROM
  • COPY
  • WORDKIR
  • RUN
  • RUN
  • COPY
  • RUN

and look at the instructions in the Dockerfile

  • FROM
  • COPY
  • WORKDIR
  • COPY
  • RUN
  • CMD

Try to read the file from the terminal:

cat Dockerfile

Do you edit your files on a different machine and synchronize after that?