1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
version: '3' services: tests: build: context: . dockerfile: Dockerfile.integration-tests volumes: - "./integration-tests:/integration-tests" - "./screenshots:/screenshots" command: "wait-for-it.sh app:80 -- mocha --recursive /integration-tests" links: - app app: image: tutum/hello-world expose: - "80"