Uncaught InvalidArgumentException: Please provide a valid cache path. in /apps/vendor/laravel/framew

一箫一剑平生意,负尽狂名十五年。这篇文章主要讲述Uncaught InvalidArgumentException: Please provide a valid cache path. in /apps/vendor/laravel/framew相关的知识,希望能为你提供帮助。


cd 项目路径

mkdir -p ./storage/framework/cache
mkdir -p ./storage/framework/sessions
mkdir -p ./storage/framework/views

【Uncaught InvalidArgumentException: Please provide a valid cache path. in /apps/vendor/laravel/framew】Dockerfile
FROM vendor:7.4prod
COPY . /apps/
RUN mkdir -p /apps/storage/framework/laravel-excel & & chown www-data:www-data /apps/storage/framework & & chown www-data:www-data /apps/storage/framework/laravel-excel & & cd /apps & & chmod 777 storage

放到RUN 后面



    推荐阅读