added public folder to caddy

This commit is contained in:
Jack Goh
2018-07-26 23:57:46 +08:00
parent a3aee3e152
commit b0b7b22dad
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -10,8 +10,9 @@ RUN curl --silent --show-error --fail --location \
&& /usr/bin/caddy -version \
&& docker-php-ext-install mbstring pdo pdo_mysql
ADD . /var/www
COPY Caddyfile /etc/Caddyfile
WORKDIR /var/www/public
WORKDIR /var/www
CMD ["/usr/bin/caddy", "--conf", "/etc/Caddyfile", "--log", "stdout"]