From 4949c84febca0d0ed105e7923ec70bcd4b67eae6 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 11 Jun 2026 11:50:48 +0700 Subject: [PATCH] Suppress Apache ServerName warning --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 942b68d..911ffee 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,9 @@ FROM php:8.1-apache # Set working directory WORKDIR /var/www/html +# Set ServerName to suppress Apache warnings +RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf + # Install system dependencies RUN apt-get update && apt-get install -y \ default-mysql-client \