Skip to content

yingxin-gh/cf-yml-example-build-dockerfile-inroot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example of building a docker image where the Dockerfile is on the root folder

This is a Git repository that holds a Node application and a Dockerfile. The dockerfile is also at the root folder of the project.

Packaging the Node.js app

To compile and package using Docker

docker build . -t my-app 

Running the docker image

docker run -p 3000:3000 my-app

and then visit http://localhost:3000 in your browser

To use this project in Codefresh

There is also a codefresh.yml for easy usage with the Codefresh CI/CD platform.

More details can be found in Codefresh documentation.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 56.5%
  • Dockerfile 43.5%