From dce8736b37248e49f092218cd0f6b8eec01fca19 Mon Sep 17 00:00:00 2001 From: Thomas CHAZOT Date: Thu, 5 Jan 2023 15:52:38 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'api-rest/Dockerfil?= =?UTF-8?q?e'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api-rest/Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/api-rest/Dockerfile b/api-rest/Dockerfile index 1b3a7aa..a411785 100644 --- a/api-rest/Dockerfile +++ b/api-rest/Dockerfile @@ -1,12 +1,10 @@ FROM php:8.0-apache -COPY 000-default.conf api-rest/000-default.conf COPY start-apache /usr/local/bin RUN chmod 755 start-apache -RUN a2enmod rewrite # Copy application source -COPY api-rest /var/www/ -RUN chown -R www-data:www-data /var/www +COPY api-rest/* /var/www/html +RUN chown -R www-data:www-data /var/www/html CMD ["start-apache"] \ No newline at end of file