#!/bin/bash # Start the background updater loop # It runs get.php every 60 seconds ( while true; do php /var/www/html/get.php sleep 60 done ) & # Start Apache in the foreground docker-php-entrypoint apache2-foreground