Simple rest mock server as a docker container
I am currently working on a task where I need to test a fairly simple system with a lot of exernal dependencies. I am a big fun of Docker because it makes it easy to set up and tear down services and aplications. For the purpose of my task I choose to use JSON Server that provides REST API mocking based on plain JSON.
Build the docker images using the following Dockerfile
Create the data.json file and fill it with data.
Run the container by executing