install php on docker container code example Example: php docker offical apache FROM php:7.2-apache COPY src/ /var/www/html/