diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..44041ec --- /dev/null +++ b/Dockerfile @@ -0,0 +1,10 @@ +FROM php:8.2-apache +LABEL authors="maow" + +COPY . /var/www/html/ +WORKDIR /var/www/html/ + +RUN docker-php-install pdo pdo_mysql + +EXPOSE 80 + diff --git a/biblio.php b/biblio.php new file mode 100644 index 0000000..b25d7de --- /dev/null +++ b/biblio.php @@ -0,0 +1,17 @@ + +console.log('Error PDO : ", $e->getMessage(), "');"; +} \ No newline at end of file diff --git a/index.php b/index.php new file mode 100644 index 0000000..9168ed5 --- /dev/null +++ b/index.php @@ -0,0 +1,57 @@ + + +
+