mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange.git
synced 2026-08-19 04:14:04 +00:00
fix 404 error for storage
This commit is contained in:
+1
-2
@@ -10,10 +10,9 @@ RUN curl --silent --show-error --fail --location \
|
||||
&& /usr/bin/caddy -version \
|
||||
&& docker-php-ext-install mbstring pdo pdo_mysql
|
||||
|
||||
ADD . /var/www
|
||||
RUN rm -rf /var/www/public/storage && php artisan storage:link
|
||||
COPY Caddyfile /etc/Caddyfile
|
||||
|
||||
WORKDIR /var/www
|
||||
RUN php artisan storage:link
|
||||
|
||||
CMD ["/usr/bin/caddy", "--conf", "/etc/Caddyfile", "--log", "stdout"]
|
||||
Reference in New Issue
Block a user