diff --git a/Dockerfile b/Dockerfile
index f50d01445d9fc31e5c7c2571df64e565579d3c7e..e3186beb94b2d20b84ad08058787f0b8cb9044f2 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"]