Created
November 8, 2019 06:11
-
-
Save kylelix7/1e8363878bba07f629b7d877104e8ef0 to your computer and use it in GitHub Desktop.
serverless.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
service: stock-backend | |
plugins: | |
- serverless-python-requirements | |
- serverless-wsgi | |
custom: | |
wsgi: | |
app: app.app | |
packRequirements: false | |
pythonRequirements: | |
dockerizePip: non-linux | |
zip: true | |
slim: true | |
provider: | |
name: aws | |
runtime: python3.7 | |
stage: prod | |
region: us-west-2 | |
functions: | |
app: | |
handler: wsgi.handler | |
events: | |
- http: ANY / | |
- http: 'ANY {proxy+}' | |
package: | |
exclude: | |
- node_modules/** | |
- venv/** | |
- data/** |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment