Is it good to use sail on production, if no then why ?

1

125

No, sail is designed to be used in development only. It has a large image builds, contains development related tooling which is not secure. Also it does not use a real http server like nginx.

If you want to deploy your laravel app using docker then you should take a look at images provided by serversideup

1

64

Thank you, for the explanation, Can we create dockerfile from sail ?
For example if I have dev app created by using Sail and then I want the same env on server so does sail help me to create the same or do I have create it by my own ?
If Sail does not help us to create dockerfile then I have create it manually

9