No Dockerfile found

Problem: When I tried to build a repository, I received this error message: “Repository does not contain a Dockerfile. Please check the pipeline configuration”.


This error indicates that the repository doesn’t have a Dockerfile in it or the path for the Dockerfile was incorrect.

Solution: There are two ways to address this error:

  1. Add a Dockerfile to the repository or verify that you configured the correct path to the Dockerfile.

    To configure the Dockerfile path in the pipeline configuration, navigate to RepositoriesYour RepositoryPipelines.


  1. Use a pre-configured Codefresh Dockerfile template from the template selector on the Pipeline view. Navigate to RepositoriesYour RepositoryPipelines.