Skip to content

Instantly share code, notes, and snippets.

@rene00
Created March 15, 2019 09:47
Show Gist options
  • Save rene00/2cd125e394527e1b4d5b94c7108451e7 to your computer and use it in GitHub Desktop.
Save rene00/2cd125e394527e1b4d5b94c7108451e7 to your computer and use it in GitHub Desktop.
service: serverless-flask
plugins:
- serverless-python-requirements
- serverless-wsgi
custom:
wsgi:
app: app.app
packRequirements: false
pythonRequirements:
dockerizePip: non-linux
provider:
name: aws
runtime: python3.7
stage: dev
region: ap-southeast-2
functions:
app:
handler: wsgi.handler
events:
- http: ANY /
- http: 'ANY {proxy+}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment