Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
[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