aboutsummaryrefslogtreecommitdiffhomepage
path: root/example/docker-compose.integration-tests.yml
blob: 074f4d12fc48342cbc65ed918f50e65e91a74bad (plain) (blame)
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"