From 228c2e2085192fd905afe828bedd8db67d51d2b9 Mon Sep 17 00:00:00 2001
From: Thibault Debatty <thibault.debatty@gmail.com>
Date: Mon, 19 Oct 2020 13:16:03 +0200
Subject: [PATCH] clear cache

---
 Dockerfile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Dockerfile b/Dockerfile
index f50d014..e3186be 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -50,11 +50,14 @@ RUN chown -R www-data:www-data /var/www/html/storage \
 # copy env file for our Docker image
 COPY env.docker /var/www/html/.env
 
-## optimize config and create sqlite db structure
+# create sqlite db structure
 RUN mkdir -p storage/app \
     && touch storage/app/db.sqlite \
     && php artisan migrate
 
+# clear config cache
+RUN php artisan config:clear 
+
 ### Docker image metadata
 
 VOLUME ["/var/www/html/storage", "/var/www/html/bootstrap/cache"]
-- 
GitLab