Failed To Resolve With FrontEnd DockerFIle.v0

后端 未结 9 2321
春和景丽
春和景丽 2021-01-17 10:49

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:

f         


        
9条回答
  •  遇见更好的自我
    2021-01-17 11:09

    In my case, I had two problems:

    1. I missed the . in the end of the command that gives the context option, and
    2. I have a ".txt" extension in the file name of the Dockerfile.

    After these two adjustments, all worked as expected.

提交回复
热议问题