Closed alexandervantrijffel closed 3 weeks ago
I've pushed a test tag to Docker Hub, issue-67-68
, if you can test it that would be great but I'll merge it later.
Set the environment variable to the file path, the file needs to be mounted in the /app directory.
docker run -d --rm -v ${PWD}/test.html:/app/test.html -p 8080:8080 -e OVERRIDE_RESPONSE_BODY_FILE_PATH=/test.html -t mendhak/http-https-echo:issue-67-68
Tag :34 is now pushed to Docker Hub and Github
It would be great if a json file could be provided to the docker image which will be used to send as the response body for all requests. With that, we can control which response data is returned without having to send the json payload in the body of the request.