fix permission deined issue

This commit is contained in:
Jack Goh
2018-07-18 19:02:51 +08:00
parent f17ce7e159
commit cd2e06c507
3 changed files with 2 additions and 5 deletions
-3
View File
@@ -13,8 +13,5 @@ RUN curl --silent --show-error --fail --location \
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 777 /var/www/storage/logs/laravel.log
CMD ["/usr/bin/caddy", "--conf", "/etc/Caddyfile", "--log", "stdout"]