From e1c2b849c18835046fa6f3267479d7db29267d9f Mon Sep 17 00:00:00 2001 From: administrator Date: Wed, 21 Feb 2024 15:02:55 +0800 Subject: [PATCH] Update Dockerfile --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0ab6a82..4dd72d2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,8 @@ RUN chmod 755 /usr/local/bin/start-apache RUN a2enmod rewrite # Copy application source -COPY src /var/www/ +RUN mkdir /var/www/public +COPY src /var/www/public RUN chown -R www-data:www-data /var/www CMD ["start-apache"] \ No newline at end of file