diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..61089c1 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,12 @@ +FROM php:8.2-apache + +RUN docker-php-ext-install pdo pdo_mysql + +COPY . /var/www/html/ + +RUN a2enmod rewrite + +RUN chown -R www-data:www-data /var/www/html/uploads +RUN chmod -R 775 /var/www/html/uploads + +EXPOSE 80 \ No newline at end of file