From ca0fa5b815a2b2184afba3e1b959d4b51dc6c53d Mon Sep 17 00:00:00 2001 From: Victor Bodinaud Date: Wed, 19 Mar 2025 13:45:57 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8Change=20name=20to=20AlpineFind=20&=20?= =?UTF-8?q?some=20enhancements?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 35 ++++++++++++++++++++++++++ README.md | 6 ++--- about.php | 20 ++++++++------- docker-compose.yml | 10 ++++++++ image.php | 2 +- image_compressed.php | 6 +++-- index.php | 58 +++++++++++++++++++++++++++++++++++--------- read.php | 2 +- 8 files changed, 111 insertions(+), 28 deletions(-) create mode 100644 Dockerfile create mode 100644 docker-compose.yml diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..0ce974c --- /dev/null +++ b/Dockerfile @@ -0,0 +1,35 @@ +FROM arm64v8/php:8.1-apache + +# Installation des dépendances PHP nécessaires +RUN apt-get update && apt-get install -y \ + libfreetype6-dev \ + libjpeg62-turbo-dev \ + libpng-dev \ + git \ + unzip \ + && docker-php-ext-configure gd --with-freetype --with-jpeg \ + && docker-php-ext-install -j$(nproc) gd + +# Activer le module rewrite pour Apache +RUN a2enmod rewrite + +# Installer Composer +COPY --from=composer:latest /usr/bin/composer /usr/bin/composer + +# Définir le répertoire de travail +WORKDIR /var/www/html + +# Copier le code source +COPY . /var/www/html/ + +# Installer les dépendances via Composer +RUN composer install --no-interaction --optimize-autoloader + +# Ajuster les permissions +RUN chown -R www-data:www-data /var/www/html + +# Exposer le port 80 +EXPOSE 80 + +# Démarrer Apache +CMD ["apache2-foreground"] \ No newline at end of file diff --git a/README.md b/README.md index 2d39484..0f6e84e 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# FrogFind -Source for the FrogFind search engine for vintage computers +# AlpineFind +Source for the AlpineFind search engine for vintage computers -Love the frog. Be the frog. +Love the Alpine. Be the Alpine. diff --git a/about.php b/about.php index 76517b3..284c19f 100644 --- a/about.php +++ b/about.php @@ -5,7 +5,7 @@ - FrogFind! + AlpineFind! + @@ -105,14 +136,19 @@ function clean_str($str) -
+ - Frog + Alpine Find! -
Leap again:
+
+

Leap again:

+ + +
+
@@ -127,7 +163,7 @@ function clean_str($str)

- FrogFind! + AlpineFind!

@@ -136,9 +172,10 @@ function clean_str($str)

-
- Leap to:
+ +

Leap to:


+
@@ -150,9 +187,6 @@ function clean_str($str) - - - \ No newline at end of file diff --git a/read.php b/read.php index 357d179..a3c1758 100644 --- a/read.php +++ b/read.php @@ -147,7 +147,7 @@ function clean_str($str)

Back to - Frog + Alpine Find! | Browsing URL: