Skip to content

Commit

Permalink
serverless slim
Browse files Browse the repository at this point in the history
  • Loading branch information
jottenlips committed Dec 21, 2019
1 parent 507ca48 commit a9ccd4c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ rsa==4.0
s3transfer==0.2.1
six==1.13.0
sshpubkeys==3.1.0
starlette==0.12.13
typed-ast==1.4.0
typing-extensions==3.7.4.1
urllib3==1.25.7
Expand Down
9 changes: 8 additions & 1 deletion serverless.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
service: jazz-charts-api
service: jazz-chart-api

plugins:
- serverless-offline
Expand Down Expand Up @@ -34,6 +34,13 @@ custom:
basePath: ./
include:
- TABLE_NAME
pythonRequirements:
slim: true
noDeploy:
- pytest
- boto3
- moto
- boto

functions:
api:
Expand Down

0 comments on commit a9ccd4c

Please sign in to comment.