Update docker conf

This commit is contained in:
T'JAMPENS QUENTIN p2406187 committed 2025-11-24 22:16:16 +01:00
1 parent 1eb75b5782
commit 60d1ec1364
7 files changed
+121 -42

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
FROM php:8.4-fpm
# Install dependencies
RUN apt-get update && apt-get install -y \
git unzip libzip-dev libpng-dev libonig-dev \
&& docker-php-ext-install pdo_mysql zip
# Install composer
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
# Copy entrypoint
COPY ./entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod +x /usr/local/bin/entrypoint.sh
# Working directory
WORKDIR /var/www/app
ENTRYPOINT ["entrypoint.sh"]
CMD ["php-fpm"]