In a docker-compose.yml file I have defined the following service:
docker-compose.yml
php: container_name: php build: context: ./container/php