fix permission deined issue

This commit is contained in:
Jack Goh
2018-07-18 18:06:53 +08:00
parent 7e4cce9a28
commit 98dc01f2ea
+1
View File
@@ -13,6 +13,7 @@ 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
CMD ["/usr/bin/caddy", "--conf", "/etc/Caddyfile", "--log", "stdout"]