diff --git a/Dockerfile b/Dockerfile index 724e561..d986628 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ FROM php:8.1-apache RUN apt-get update && apt-get install -y git zip RUN docker-php-ext-install pdo pdo_mysql -COPY . /var/www/html -WORKDIR /var/www +COPY . /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