Configuration de Apache et PHP dans le dossier conf

This commit is contained in:
Nicolas MORIN
2021-05-20 19:40:52 +02:00
parent 13855ba658
commit 682a100e6b
3 changed files with 2177 additions and 1 deletions
+3 -1
View File
@@ -5,7 +5,9 @@ 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 && \
RUN mv /var/www/html/outils/conf/php.ini /etc/php/7.4/apache2 && \
mv /var/www/html/outils/conf/apache2.conf /etc/apache2/ && \
chmod +x /var/www/html/outils/genenv.sh && \
/var/www/html/outils/genenv.sh
CMD /usr/sbin/apachectl -D FOREGROUND