From d80f6a456ca4e5bfe539e0d67151aa9b5ba4eac2 Mon Sep 17 00:00:00 2001 From: Adam Daley Date: Fri, 27 Feb 2026 13:34:35 +0000 Subject: [PATCH] Fix for 1 code quality finding (#3266) Apply suggested fix to Dockerfile from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index fd5d19b6f..6bf77ed4d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,4 +24,4 @@ RUN echo '*/5 * * * * /usr/local/bin/php /var/www/html/cron.php' > /tmp/www-data && rm /tmp/www-data.cron # Start cron and then run Apache in the foreground when the container starts. -CMD cron && apache2-foreground +CMD ["sh", "-c", "cron && exec apache2-foreground"]