Skip to content

Latest commit

 

History

History
37 lines (18 loc) · 837 Bytes

File metadata and controls

37 lines (18 loc) · 837 Bytes

Build Status License: MIT

Data Structure and Algorithms PHP

Build the image

docker image build --tag terdia07/php-7.4 .

Run th container

docker container run -d --name dsa --publish 80:80 --mount type=bind,source="$(pwd)",target=/var/www/html terdia07/php-7.4

Enter the container

docker exec -it dsa bash

Install phpunit and setup autoloading by running:

cd /var/www/html && composer install

Run test:

./vendor/bin/phpunit tests --testdox