fix permission denied issue

This commit is contained in:
Jack Goh
2018-07-18 18:46:53 +08:00
parent c60439d183
commit db7f99d653
+1 -1
View File
@@ -15,6 +15,6 @@ COPY Caddyfile /etc/Caddyfile
WORKDIR /var/www/public
RUN chown -R www-data:www-data /var/www
RUN chown -R www-data:www-data /var/www/public
RUN chmod -Rf 777 /var/www/storage/logs/laravel.log
RUN chmod 777 /var/www/storage/logs/laravel.log
CMD ["/usr/bin/caddy", "--conf", "/etc/Caddyfile", "--log", "stdout"]