@slsplus/python-requirements
v0.1.3
Published
Serverless Python Requirements Component
Downloads
2
Readme
python-requirements
Notice: This project is a rewrite from serverless-python-requirements which is a serverless plugin.
Serverless Python Requirements Component
Content
1. Install
Install the Serverless Framework globally:
$ npm install -g serverless
2. Create
Just create the following simple boilerplate:
$ touch serverless.yml
3. Configure
# serverless.yml
MyComponent:
component: '@slsplus/python-requirements'
inputs:
codeUri: ./
include:
- handler.py
dockerizePip: true
zip: true
4. Deploy
$ sls --debug
5. Remove
$ sls remove --debug
More Components
Checkout the Serverless Components repo for more information.