Open josoroma-zz opened 4 years ago
You are supposed to build whatever you want to ship in docker, so normally you don't need serverless inside. You should probably use lambci/lambda
or its friends as a base image to emulate lambda.
So the instruction is:
serverless-docker-artifacts
sls deploy
as usual The example of a dockerfile you can see here.
If you think README might be improved then a PR is welcome.
Hi!
I am have been working on a serverless app in node, without any problems on my mac, suddenly using the sharp library I got stuck making the endpoint work, sharp is not being builded fine because it needs the right Linux environment for that, which for lambda+sharp must to be Linux.
So I was wondering... Do this plugin will help me to make an
sls deploy
from mac to behave as a deploy running via a Linux container right?Some examples would be great, thanks!