Sign inSign up

thoom/sinatra-mock

By thoom

Updated over 8 years ago
Archived

Used to build a Sinatra-backed mock web service.

Image
0

784

thoom/sinatra-mock repository overview

Sinatra Mock

This is a docker image that allows you to create a mock web service in Sinatra. The idea is simple: provide a single page Sinatra app that mounts to /server/app.rb.

It can't have any dependencies, nor should it need them, since it is just built with the idea that you are sending and receiving canned data from another service that you are interacting with.

Usage

docker pull thoom/sinatra-mock
docker run -p 9000:9000 -v $PWD/app.rb:/server/app.rb --name mock-server thoom/sinatra-mock

Tag summary

Content type

Image

Digest

Size

36.7 MB

Last updated

over 8 years ago

docker pull thoom/sinatra-mock