FROM php:8.1-apache
RUN apt-get update && docker-php-ext-install pdo_mysql calendar mysqli zip

RUN a2enmod rewrite headers

COPY . /var/www
EXPOSE 80