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