FROM php:8.3-apache RUN apt-get update \ && apt-get install -y --no-install-recommends git unzip libzip-dev \ && docker-php-ext-install zip \ && a2enmod rewrite \ && rm -rf /var/lib/apt/lists/* # convenience; container side path exists even before bind mount RUN mkdir -p /var/www/html/cache && chown -R www-data:www-data /var/www/html