From d48e5a2a7ac0b15ee8c127de2a4479ca2f4f9c21 Mon Sep 17 00:00:00 2001 From: Dorian HODIN Date: Wed, 5 Jun 2024 11:34:11 +0200 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'Dockerfile'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2c18764..df7596c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,13 +3,15 @@ FROM php:8.2-apache RUN apt-get update && apt-get install -y git zip COPY . /var/www/html -COPY ./public/index.php /var/www/html WORKDIR /var/www/html RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer RUN composer install --no-scripts --no-interaction + RUN a2enmod rewrite RUN a2enmod actions COPY ./vhost.conf /etc/apache2/sites-available/000-default.conf RUN service apache2 restart + +ENTRYPOINT ["php","-S","0.0.0.0:8383","-t","./public"] \ No newline at end of file