Enhance health check in deployment workflow and suppress Apache ServerName warning in Dockerfile
Some checks failed
Deploy Development / deploy (push) Failing after 2m14s
Some checks failed
Deploy Development / deploy (push) Failing after 2m14s
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user