From acd877f5688baf8a98e2ce03a9f7b78337eac9ee Mon Sep 17 00:00:00 2001 From: rem Date: Thu, 9 Nov 2023 15:16:55 +0100 Subject: [PATCH] Update 'Dockerfile' --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index f41f4a8..724e561 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,7 @@ 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/index.php /var/www/html -COPY ./src ./app composer.json /var/www/ +COPY . /var/www/html WORKDIR /var/www RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer RUN composer update && composer install