Dockerfile is setting all the command line arguments to wiremock-net as ENTRYPOINT parameters. This makes it difficult to override the arguments specified.
We can move ReadStaticMappings and WireMockLogger as CMD arguments, that would make it easy to override with docker run and also would make it easier to create custom images based on this by copying over the static mappings.
This will become
Dockerfile is setting all the command line arguments to wiremock-net as ENTRYPOINT parameters. This makes it difficult to override the arguments specified.
We can move
ReadStaticMappings
andWireMockLogger
as CMD arguments, that would make it easy to override withdocker run
and also would make it easier to create custom images based on this by copying over the static mappings. This will becomefollowing
If happy with the suggestion, I can do a PR with changes. Thanks