diff --git a/Dockerfile b/Dockerfile index 0eaab4b..ea4af46 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,6 +10,13 @@ WORKDIR /var/www/html/ # Enable Apache mod_rewrite (if needed) RUN a2enmod rewrite +# Install PHP extensions and tools required by the app +RUN apt-get update \ + && apt-get install -y --no-install-recommends libzip-dev unzip \ + && docker-php-ext-configure zip \ + && docker-php-ext-install zip \ + && rm -rf /var/lib/apt/lists/* + # Give write permissions to the web server (if your scripts create files) RUN chown -R www-data:www-data /var/www/html