If you read the introduction in the documentation about sail. you will see:
Laravel Sail is a light-weight command-line interface for interacting with Laravel's default Docker development environment.
For an production environment you need to have more focus on security and stable updates for your system. It is possible to do that with docker but that is not provided by the Laravel team.
If you want to use docker in production it is a good idea to have some more understanding, on that way you have the option to setup the docker environment on the way you wanted.
A course that can be interested as a starting point is https://serversforhackers.com/shipping-docker
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us