From 67f3d07411070c6b22ae5124c23b5a120e918474 Mon Sep 17 00:00:00 2001 From: "younes.ouaz" Date: Mon, 13 Oct 2025 15:09:54 +0000 Subject: [PATCH] =?UTF-8?q?T=C3=A9l=C3=A9verser=20les=20fichiers=20vers=20?= =?UTF-8?q?"/"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 10 ++++++++++ biblio.php | 17 ++++++++++++++++ index.php | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 84 insertions(+) create mode 100644 Dockerfile create mode 100644 biblio.php create mode 100644 index.php 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 @@ + + + + Ma super bibliothèque + + + + + + + + + + + + +
+

Bibliothèque

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