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