Compare commits
No commits in common. "f9b21bdd0cdda507f279af18fd86474aa3dedcce" and "2e64b17f5effc8a8cafb84394c0e5686569a08f0" have entirely different histories.
f9b21bdd0c
...
2e64b17f5e
|
@ -6,14 +6,13 @@ WORKDIR /var/www/html
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
RUN apt-get update --fix-missing -y
|
RUN apt-get update --fix-missing -y
|
||||||
RUN apt-get upgrade -y
|
RUN apt-get upgrade -y
|
||||||
RUN apt-get install -y nano apt-utils apache2 php libapache2-mod-php php-mysql php-zip php-xml php-mbstring php-curl php-gd php-intl #php-mysql PDO driver
|
RUN apt-get install -y nano apt-utils apache2 php libapache2-mod-php php-mysql php-zip php-xml php-mbstring php-curl php-gd php-intl php-mime-type #php-mysql PDO driver
|
||||||
RUN a2enmod rewrite
|
RUN a2enmod rewrite
|
||||||
RUN a2enmod proxy_wstunnel
|
RUN a2enmod proxy_wstunnel
|
||||||
#RUN apt install -y php apahec2 libapache2-mod-php # php-mysql
|
#RUN apt install -y php apahec2 libapache2-mod-php # php-mysql
|
||||||
|
|
||||||
#COPY my-apache-site.conf /etc/apache2/sites-available/my-apache-site.conf
|
#COPY my-apache-site.conf /etc/apache2/sites-available/my-apache-site.conf
|
||||||
#RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf && a2enmod rewrite && a2dissite 000-default && a2en>
|
#RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf && a2enmod rewrite && a2dissite 000-default && a2en>
|
||||||
COPY php.ini.dev /etc/php/8.2/apache2/php.ini
|
|
||||||
COPY dir.conf /etc/apache2/mods-enabled/dir.conf
|
COPY dir.conf /etc/apache2/mods-enabled/dir.conf
|
||||||
COPY 000-default.conf /etc/apache2/sites-available/000-default.conf
|
COPY 000-default.conf /etc/apache2/sites-available/000-default.conf
|
||||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf && service apache2 restart
|
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf && service apache2 restart
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue