Tests - use Docker (as environment guard)

This commit is contained in:
Meritoo
2017-10-18 00:31:18 +02:00
parent 71e1eeb81b
commit b824808cd4
5 changed files with 74 additions and 0 deletions

15
docker-compose.yml Normal file
View File

@@ -0,0 +1,15 @@
version: '3'
services:
php-cli:
image: php-cli
container_name: php-cli
working_dir: /project
entrypoint: php
command: -S 0.0.0.0:99
build:
context: ./.docker/config
args:
- TIMEZONE=$TIMEZONE
volumes:
- .:/project