This commit is contained in:
T'JAMPENS QUENTIN p2406187
2025-11-24 23:18:10 +01:00
parent 1f077cfdd2
commit 6c4d03eb6b
3 changed files with 3 additions and 12 deletions
-4
View File
@@ -1,18 +1,14 @@
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"]