THIS IS A TEST INSTANCE ONLY! REPOSITORIES CAN BE DELETED AT ANY TIME!

You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Adi Linden 88648f9ec5 Updated Docker Hub image name. 1 year ago
Dockerfile A simple ruby sinatra app in Docker. 1 year ago
Gemfile A simple ruby sinatra app in Docker. 1 year ago
README.md Updated Docker Hub image name. 1 year ago
app.rb A simple ruby sinatra app in Docker. 1 year ago

README.md

Dockerized Sinatra (Ruby)

Runs a basic Sinatra server …

Get it from Github

git clone https://github.com/adilinden/docker-sinatra-hello.git

Build it

docker build -t adilinden/docker-sinatra-hello .

Or, get it from Docker Hub

docker pull adilinden/docker-sinatra-hello

Run it

docker run --name sinatra-hello \
    -p 8080:80 \
    --rm -it adilinden/docker-sinatra-hello

See the result

Fetch the URL http://localhost:8080/

curl http://localhost:8080/