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