from php:8.2-apache RUN apt update && \ apt install -y postgresql-server-dev-15 && \ docker-php-ext-install pdo_pgsql && \ a2enmod rewrite headers RUN rm -rf /var/www/html && \ ln -sf /app/public /var/www/html && \ sed -i 's/80/8000/' /etc/apache2/ports.conf && \ sed -i 's/80/8000/' /etc/apache2/sites-enabled/000-default.conf