Update php-debian-bookworm-apache/Dockerfile

This commit is contained in:
Kar
2024-04-02 17:25:04 +00:00
parent fb9c7ea4d1
commit 7d6c2ddd90

View File

@@ -4,9 +4,9 @@ WORKDIR /var/www/html
#COPY index.php index.php
#COPY src/ src
EXPOSE 80
RUN apt-get update -y
RUN apt-get update --fix-missing -y
RUN apt-get upgrade -y
RUN apt-get install -y nano apt-utils apache2 php libapache2-mod-php php-mysql #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 apt install -y php apahec2 libapache2-mod-php # php-mysql