From eed0e387afa6f22fa62558083f5f8b7543655d15 Mon Sep 17 00:00:00 2001 From: RemRem Date: Thu, 9 Nov 2023 15:11:54 +0100 Subject: [PATCH] update Dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0c08cea..7600f2c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ FROM php:8.1-apache RUN apt-get update && apt-get install -y git zip RUN docker-php-ext-install pdo pdo_mysql -COPY ./public /var/www/html +COPY ./public/index.php /var/www/html COPY ./src ./app composer.json /var/www/ WORKDIR /var/www RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer RUN composer update && composer install RUN a2enmod rewrite RUN a2enmod actions -RUN service apache2 restart \ No newline at end of file +RUN service restart apache2 \ No newline at end of file