Skip to content

Serve a 'hello world' json message via a sinatra server wrapped in a docker container

Notifications You must be signed in to change notification settings

adambonsu/ruby-sinatra-on-docker-hello-world

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ruby-sinatra-on-docker-hello-world

Serve a 'hello world' json message via a sinatra server wrapped in a docker container.

Build the image

docker build . -t ruby-sinatra-on-docker-hello-world

Run the container

docker run -p 80:80 -d ruby-sinatra-on-docker-hello-world

Managing containers via docker-compose

Start containers

docker-compose up -d

Stop containers

docker-compose stop

About

Serve a 'hello world' json message via a sinatra server wrapped in a docker container

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published