diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..76949e3 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,10 @@ +FROM php:8.2-apache + +# mod_rewrite aktivieren, welches in .htaccess genutzt wird +RUN a2enmod rewrite + +# mysqli installieren +RUN docker-php-ext-install mysqli + +# Repository in den Container kopieren +COPY . /var/www/html \ No newline at end of file diff --git a/db.conf.php.tpl b/db.conf.php.tpl index 5fd3d9b..d0af3d0 100644 --- a/db.conf.php.tpl +++ b/db.conf.php.tpl @@ -1,5 +1,12 @@