This commit is contained in:
T'JAMPENS QUENTIN p2406187 committed 2025-11-24 23:18:10 +01:00
1 parent 1f077cfdd2
commit 6c4d03eb6b
3 files changed
+3 -12

No files matched your search

-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"]