One of the limitations of AWS Lambda is that the deployment size, including layers, must not exceed 250 MB. In addition, many people interested in Laravel Vapor would like to install additional PHP extensions that are not included in the native Vapor runtimes.
This allows developers to package and deploy Lambda functions as Docker container images of up to 10GB.
Of course, you should ensure that you have installed Docker on your local machine. With the introduction of Docker based deployments, you can now deploy larger applications to Laravel Vapor and easily install any extra libraries or PHP extensions that your projects may need.