FROM php:8.2-apache

# Enable Apache mod_rewrite if needed
RUN a2enmod rewrite

# Copy all PHP files into Apache's web root
COPY . /var/www/html/

# (Optional) Enable custom Apache configs
# COPY apache.conf /etc/apache2/sites-enabled/000-default.conf

# Expose default Apache port
EXPOSE 80

