Serves a single endpoint at GET /customers/:customerId
where customer Id is an integer value.
Since it is serving the static content hardcoded internally, service only recognizes the customerId
- 1
- 2
- 4
- 16
Other IDs will fail!
In order to build the image run the following
docker build -t demo-customer .
You can start the Demo Customer container using the following command:
docker run --name demo-customer --network sandbox demo-customer
The above command assumes that network sandbox exists in your docker environment.
If not it could be created with the following command:
docker network create sandbox