https://linen.dev logo
#wiremock-java
Title
# wiremock-java
a

Albert Edlin Tan

02/23/2023, 7:59 AM
I have 2 wiremock servers using wiremock v2.31.0, I copied my Dockerfile on both server and run the docker build to create the image on that server. 1 server works, while the other doesn't.
t

Tom

02/23/2023, 9:24 AM
Hi @Albert Edlin Tan I suggest checking whether either
--local-response-templating
or
--global-response-templating
appears in the startup command in the case where it’s not working. It’s likely that this is missing from the cmd/entrypoint. I’d also strongly recommend upgrading to 2.35.0.
a

Albert Edlin Tan

02/24/2023, 1:15 AM
Yeah, I was missing the --global-response-templating. Strangely, I used the same Dockerfile on my local and by default it seems to be on. Taking note of your recommendation. 🙂
👍 1
2 Views