Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

vincent15000's avatar

Docker and sail artisan optimize

Hello,

For a project, I'm using docker and sail.

sail artisan optimize is supposed to cache the routes, the config, ...

But in my case, when running this command in production, there is no config.php file created in the bootstrap/cache folder, whereas the other cache files are all created.

The rights are ok for writing inside this folder.

What do you suggest me to check ?

Thanks for your help.

V

0 likes
0 replies

Please or to participate in this conversation.