BetterTwitFix/serverless.yml

31 lines
496 B
YAML
Raw Normal View History

2022-05-15 02:14:41 +02:00
service: twitfix
provider:
name: aws
runtime: python3.6
package:
patterns:
- '!node_modules/**'
- '!venv/**'
2022-05-15 02:14:41 +02:00
plugins:
- serverless-wsgi
- serverless-python-requirements
- serverless-plugin-common-excludes
- serverless-plugin-include-dependencies
2022-05-15 02:14:41 +02:00
functions:
webhook:
handler: wsgi_handler.handler
url: true
layers:
- Ref: PythonRequirementsLambdaLayer
2022-05-15 02:14:41 +02:00
custom:
wsgi:
app: twitfix.app
pythonRequirements:
layer: true
dockerizePip: true