FROM debian:testing RUN apt update -y && apt install -y --no-install-recommends apache2 php libapache2-mod-php sqlite3 php-sqlite3 && \ apt clean && \ rm -rf /var/lib/apt/lists/* && \ mkdir -p /etc/postfix/ && \ rm /var/www/html/index.html COPY . /var/www/html/ RUN chmod +x /var/www/html/outils/genenv.sh && \ /var/www/html/outils/genenv.sh CMD /usr/sbin/apachectl -D FOREGROUND