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.
|
3 years ago | |
---|---|---|
Dockerfile | 3 years ago | |
Gemfile | 3 years ago | |
README.md | 3 years ago | |
app.rb | 3 years 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/