Skip to content

Instantly share code, notes, and snippets.

@eliasnogueira
Created November 25, 2022 16:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eliasnogueira/06c473acfb6ef9b8b4f892671230ddb1 to your computer and use it in GitHub Desktop.
Save eliasnogueira/06c473acfb6ef9b8b4f892671230ddb1 to your computer and use it in GitHub Desktop.
[JavaAdvent] Docker compose file to copy the necessary Wiremock files and build the Docker image
version: '3.9'
services:
wiremock:
build:
context: ./
dockerfile: Dockerfile
image: wiremock-custom
container_name: wiremock-credit-restriction-api
ports:
- "8088:80"
volumes:
# we copy our scripts onto the container
- ./__files:/wiremock-jre8-standalone/__files
- ./mappings:/wiremock-jre8-standalone/mappings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment