From 1fb406c58a02c1f2d765d4cd7dff5f43c3cda218 Mon Sep 17 00:00:00 2001 From: David D'ALMEIDA Date: Wed, 21 Feb 2024 16:32:41 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'Sources/config/Doc?= =?UTF-8?q?kerfile'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sources/config/Dockerfile | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/Sources/config/Dockerfile b/Sources/config/Dockerfile index ff9f14d6..35fe2561 100755 --- a/Sources/config/Dockerfile +++ b/Sources/config/Dockerfile @@ -1,14 +1,7 @@ -FROM php:8.2-fpm as base +FROM socialengine/php-apache:5.6 -RUN docker-php-ext-install pdo pdo_mysql +COPY . /app -WORKDIR /var/www/ +RUN composer install -COPY . /var/www/ - - -FROM nginx:1.19-alpine -RUN echo "" > /usr/share/nginx/html/index.php -COPY ./config/nginx.conf /etc/nginx/nginx.conf -RUN ls EXPOSE 80