HUB
Sign inSign up
bmi logo

sunrays86/bmi

By sunrays86

•Updated over 6 years ago

ruby docker image for bmi calculation using api

Image
0

231

sunrays86/bmi repository overview

⁠ruby-docker

⁠Build

docker image build -t bmi:1.0.0

⁠RUN

docker run -d -p 80:80 bmi:1.0.0

⁠Logs

docker container logs -f <container-id>

⁠Test

http://localhost/api/bmi?weight=65&height=160⁠

⁠Output

{"bmi":25.39}

Tag summary
Recent tags
Content type
Image
Digest
Size
40.4 MB
Last updated
over 6 years ago
docker pull sunrays86/bmi:latest