Enhance health check in deployment workflow and suppress Apache ServerName warning in Dockerfile
Some checks failed
Deploy Development / deploy (push) Failing after 2m14s

This commit is contained in:
Frank John Begornia
2025-12-18 11:44:41 +08:00
parent 159dda3843
commit 2550a945a3
3 changed files with 30 additions and 3 deletions

View File

@@ -54,6 +54,9 @@ ENV APACHE_DOCUMENT_ROOT=/var/www/html/public
RUN sed -ri -e 's!/var/www/html!${APACHE_DOCUMENT_ROOT}!g' /etc/apache2/sites-available/*.conf
RUN sed -ri -e 's!/var/www/!${APACHE_DOCUMENT_ROOT}!g' /etc/apache2/apache2.conf /etc/apache2/conf-available/*.conf
# Suppress Apache ServerName warning
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
# Expose port 80
EXPOSE 80