diff --git a/README.md b/README.md index bd45477..a3bc3cd 100644 --- a/README.md +++ b/README.md @@ -162,7 +162,7 @@ Tips: https://support.google.com/accounts/answer/185833?hl=en > > The path of the email config file that is using these environment variables is located at: [`/lib/config/sendmail.php`](https://github.com/TanHongIT/new-mvc-shop/tree/master/lib/config/sendmail.php) -# 7. Install with Docker +# 7. Install with Docker (Optional) > Note: > diff --git a/docker/Dockerfile b/docker/Dockerfile index 76912b9..6422391 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -34,5 +34,7 @@ COPY --from=composer/composer /usr/bin/composer /usr/local/bin/composer WORKDIR /var/www/html +RUN chown -R www-data:www-data /var/www/html + EXPOSE 80 EXPOSE 443