mon2matrix/Dockerfile

16 lines
306 B
Docker

FROM debian:12-slim
RUN apt-get update && apt-get upgrade -y
RUN apt-get install -y \
apache2 \
php\
php-opcache\
php-yaml \
php-mbstring \
php-curl
RUN rm -rf /var/www/html/index.html
ADD index.php /var/www/html/index.php
ENTRYPOINT ["/usr/sbin/apache2ctl", "-D", "FOREGROUND"]