Failed To Resolve With FrontEnd DockerFIle.v0

后端 未结 9 2189
春和景丽
春和景丽 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:19

    It was mention before:

    Please rename your docker files to:

    from .dockerfile to .Dockerfile no extension

    and make sure that if you have a .dockerignore then start with a lowercase d

    then in the command line run the following command to create the image.

    docker build -t yourapp:yourtag .

    For more information please refer to this documentation Dockerizing a React App

提交回复
热议问题