Suppress Apache ServerName warning

This commit is contained in:
unknown
2026-06-11 11:50:48 +07:00
parent 9f8eee401a
commit 4949c84feb
+3
View File
@@ -4,6 +4,9 @@ FROM php:8.1-apache
# Set working directory # Set working directory
WORKDIR /var/www/html WORKDIR /var/www/html
# Set ServerName to suppress Apache warnings
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
# Install system dependencies # Install system dependencies
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
default-mysql-client \ default-mysql-client \