Sign inSign up

andrius/alpine-webrick

By andrius

Updated over 5 years ago

Tiny web-server

Image
0

975

andrius/alpine-webrick repository overview

Webrick server

I had to test app that push live data to the API and as result have created this docker image.

It is simple ruby webrick server that listen on port 8000 and print out log of each request.

It also could work as small HTTP server, serving *html files -- just mount them to the /web folder!

Sample docker-compose.yml file:

webrick:
  image: andrius/alpine-webrick:latest
  ports:
    - 8000/tcp:8000/tcp
  volumes:
    - "./index.html:/web/index.html"

Reference:

https://gist.github.com/willurd/5720255

Tag summary

Content type

Image

Digest

Size

16.3 MB

Last updated

over 5 years ago

docker pull andrius/alpine-webrick