]> git.immae.eu Git - github/fretlink/docker-puppeteer.git/commitdiff
Create docker-compose.integration-tests.yml
authorTim Lucas <t@toolmantim.com>
Tue, 5 Feb 2019 23:55:14 +0000 (10:55 +1100)
committerGitHub <noreply@github.com>
Tue, 5 Feb 2019 23:55:14 +0000 (10:55 +1100)
example/docker-compose.integration-tests.yml [new file with mode: 0644]

diff --git a/example/docker-compose.integration-tests.yml b/example/docker-compose.integration-tests.yml
new file mode 100644 (file)
index 0000000..65ed241
--- /dev/null
@@ -0,0 +1,16 @@
+version: '3'
+services:
+  tests:
+    build:
+      context: .
+      dockerfile: Dockerfile.integration-tests
+    volumes:
+      - "./integration-tests:/integration-tests"
+      - "./screenshots:/screenshots"
+    command: mocha --recursive /integration-tests
+    links:
+      - app
+  app:
+    image: tutum/hello-world
+    expose:
+      - "80"