# Use an official PHP image with Apache
FROM php:7.4-apache

COPY app /var/www/html

# Ensure the Apache server runs as the correct user
USER www-data

EXPOSE 80