diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..0e457b5 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ +FROM php:8.2-apache +LABEL authors="Fahym" + +COPY . /var/www/html +WORKDIR /var/www/html + +RUN docker-php-ext-install pdo pdo_mysql + +EXPOSE 80 \ No newline at end of file diff --git a/PDO.php b/PDO.php new file mode 100644 index 0000000..67b50c6 --- /dev/null +++ b/PDO.php @@ -0,0 +1,16 @@ +console.log('Error PDD : " . $e->getMessage() , "');"; +} diff --git a/index.php b/index.php new file mode 100644 index 0000000..5ba8b4c --- /dev/null +++ b/index.php @@ -0,0 +1,57 @@ + + + + Ma super bibliothèque + + + + + + + + + + + + +
+

Bibliothèque

+ +
+ + +
+ +
+ + + + + + + +