Skip to content

malincrist/docker-sample-ruby-2.2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-sample-ruby-2.2

Sample Hello World Ruby application serving on exported port.

Running the Ruby app

To simply run the sample ruby application on your desired port, for example below is using 8080. Use the following commands:
export PORT=8080
docker run -d -e "PORT=$PORT" -p $PORT:$PORT osodevops/docker-sample-ruby-2.2

Building Docker image locally

If you need to customise the image you can build it locally using the following:
docker build -t ruby-sample .

About

Sample Hello World Ruby application serving on port 80

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 71.8%
  • Dockerfile 28.2%