FROM php:8.2-apache RUN apt-get update && apt-get install -y git zip COPY . /var/www/html WORKDIR /var/www/html RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer RUN composer install RUN a2enmod rewrite RUN a2enmod actions RUN service apache2 restart EXPOSE 8080 ENTRYPOINT ["php","-S","0.0.0.0:8080","-t","./public"]