Skip to content

Commit d11d884

Browse files
authored
Add docker for testing (#11)
1 parent 01d01fa commit d11d884

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
FROM composer:1.5
2+
3+
COPY . /app
4+
5+
RUN composer install
6+
7+
CMD ["/bin/sh", "./docker.sh"]

docker.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/usr/bin/env bash
2+
3+
./vendor/bin/phpunit

0 commit comments

Comments
 (0)