Grant all access to server status (temporary grant)
Build and Push Alpine PHP Image / Build and push image (push) Successful in 53s Details
Build and Push Alpine PHP Image / Build and push apache image (push) Successful in 59s Details
Build and Push Ubuntu PHP 8.3 Image / Build and push image (push) Successful in 53s Details

This commit is contained in:
Aditya Prima 2024-09-22 22:05:53 +07:00
parent 163c585050
commit 5598ecc5f4
1 changed files with 3 additions and 1 deletions

View File

@ -41,7 +41,9 @@ RUN sed -i "s|ServerRoot /var/www|ServerRoot ${SERVER_ROOT}|" /etc/apache2/httpd
sed -i "s|LogLevel .*|LogLevel ${LOG_LEVEL}|" /etc/apache2/httpd.conf && \
sed -i "s|#LoadModule rewrite_module|LoadModule rewrite_module|" /etc/apache2/httpd.conf && \
sed -i "s|#LoadModule deflate_module|LoadModule deflate_module|" /etc/apache2/httpd.conf && \
sed -i "s|#LoadModule expires_module|LoadModule expires_module|" /etc/apache2/httpd.conf
sed -i "s|#LoadModule expires_module|LoadModule expires_module|" /etc/apache2/httpd.conf && \
sed -i "s|Require host .example.com|#Require host .example.com|" /etc/apache2/conf.d/info.conf && \
sed -i "s|Require ip 127|Require all granted|" /etc/apache2/conf.d/info.conf
# ADD INITIALIZATION SCRIPT
ADD ./scripts/apache-entrypoint-alpine /usr/local/bin/entrypoint