[JavaAdvent] Docker compose file to copy the necessary Wiremock files and build the Docker image
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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