From 116199220593459688daebb5fc37e5ccfd0c31af Mon Sep 17 00:00:00 2001 From: William Date: Fri, 1 Jul 2022 16:16:02 +0200 Subject: [PATCH] =?UTF-8?q?Changement=20de=20r=C3=A9pertoire.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 4 ++-- vhost.conf | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index be4dca3..61d9724 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM php:8.1-apache-buster # Set working directory -WORKDIR /var/www +WORKDIR /app # Install system dependencies RUN apt-get update && apt-get install -y \ @@ -38,7 +38,7 @@ RUN apt-get -y autoremove \ && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* # Copy source code -COPY . /var/www +COPY . /app # Install php dependencies RUN composer install --quiet --no-ansi --no-interaction --no-scripts --no-suggest --no-progress --prefer-dist diff --git a/vhost.conf b/vhost.conf index 2050d8f..d06ede3 100644 --- a/vhost.conf +++ b/vhost.conf @@ -1,7 +1,7 @@ - DocumentRoot /var/www/public + DocumentRoot /app/public - + AllowOverride all Require all granted