diff --git a/Dockerfile b/Dockerfile index 725245e..7090f71 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,12 @@ -FROM php:7.4-apache +FROM php:8.3-apache RUN DEBIAN_FRONTEND=noninteractive \ apt-get update && \ apt-get install -y unzip +# Use the default production configuration +RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini" + RUN a2enmod rewrite RUN sed -i 's#DocumentRoot /var/www/html#DocumentRoot /var/www/html/web#' /etc/apache2/sites-available/000-default.conf