Suppress Apache ServerName warning
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user