From d2e36d1354178bdcd617e0e16af110f4b02719da Mon Sep 17 00:00:00 2001
From: Thibault Debatty <thibault.debatty@gmail.com>
Date: Mon, 19 Oct 2020 12:07:14 +0200
Subject: [PATCH] do not cache config ahead of time

---
 Dockerfile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index a3b2e32..f50d014 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -51,8 +51,7 @@ RUN chown -R www-data:www-data /var/www/html/storage \
 COPY env.docker /var/www/html/.env
 
 ## optimize config and create sqlite db structure
-RUN php artisan config:cache \
-    && mkdir -p storage/app \
+RUN mkdir -p storage/app \
     && touch storage/app/db.sqlite \
     && php artisan migrate
 
-- 
GitLab