Configuration de Apache et PHP dans le dossier conf
This commit is contained in:
+3
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user