- AWS Account
- Node and npm
- Serverless CLI
Install all the dependencies
npm install
Install sharp dependency of linux platform for AWS
npm install --arch=x64 --platform=linux --target=12.13.0 sharp
Run configuration script
npm run prestart
Build serverless package
sls package
Deploy serverless package
sls deploy