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 @@
-