Compare commits
2 Commits
2e64b17f5e
...
f9b21bdd0c
Author | SHA1 | Date |
---|---|---|
![]() |
f9b21bdd0c | |
![]() |
59e21b9185 |
|
@ -6,13 +6,14 @@ 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-mime-type #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-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