From f6212b6d5ed46767f97a34379cdcfc0f0efe466f Mon Sep 17 00:00:00 2001 From: David D'ALMEIDA Date: Wed, 21 Feb 2024 12:09:17 +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 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Sources/config/Dockerfile b/Sources/config/Dockerfile index d691b873..07a21cd1 100755 --- a/Sources/config/Dockerfile +++ b/Sources/config/Dockerfile @@ -2,12 +2,12 @@ FROM php:8.2-ftp as base RUN docker-php-ext-install pdo pdo_mysql -COPY . /app +WORKDIR /var/www/ -WORKDIR /var/www/html/ +COPY . /var/www/ EXPOSE 80 FROM nginx -COPY ./nginx/nginx.conf /etc/nginx/conf.d/default.conf -COPY --from=base /app/build /usr/share/nginx/html +COPY ./config/nginx.conf /etc/nginx/conf.d/default.conf +COPY --from=base /var/www/ /var/www/