From b557804d8c0f6741e96fe9df5ff9463963206248 Mon Sep 17 00:00:00 2001 From: Moros Smith Date: Thu, 2 May 2024 09:34:19 -0400 Subject: [PATCH] fix dockerfile: clear all of the cached everything --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index d9a4615..09500fc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -70,6 +70,10 @@ WORKDIR /var/www/html RUN chmod 755 -R /var/www/html/storage/ && \ chown -R www-data:www-data /var/www/ && \ su -c "bash build-libs.sh" -s /bin/bash www-data && \ + su -c "php artisan config:clear" -s /bin/bash www-data && \ + su -c "php artisan cache:clear" -s /bin/bash www-data && \ + su -c "php artisan view:clear" -s /bin/bash www-data && \ + su -c "php artisan route:clear" -s /bin/bash www-data && \ a2enmod rewrite ENTRYPOINT [ "/bin/bash" ]