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>
This commit is contained in:
Adam DaleyandCopilot Autofix powered by AI authored and GitHub committed 2026-02-27 13:34:35 +00:00
1 parent 8c88b0d9d9
commit d80f6a456c
1 file changed
+1 -1
+1 -1
View File
@@ -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"]