Téléverser les fichiers vers "/"

This commit is contained in:
2026-06-03 09:10:03 +00:00
parent 2fe6cf9289
commit 5cb417c0f4

20
Dockerfile Normal file
View File

@@ -0,0 +1,20 @@
FROM php:8.2-apache
RUN apt-get update && apt-get install -y \
zip \
unzip \
git
RUN docker-php-ext-install mysqli
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
COPY . /var/www/html/
WORKDIR /var/www/html
RUN composer install --no-interaction --ignore-platform-reqs
RUN chown -R www-data:www-data /var/www/html/
EXPOSE 80