Skip to content

Instantly share code, notes, and snippets.

@eliasnogueira
Created November 25, 2022 16:00
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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