diff --git a/requirements.txt b/requirements.txt index 8eb3a23fd..a28840190 100644 --- a/requirements.txt +++ b/requirements.txt @@ -20,7 +20,7 @@ hyperopt==0.1 networkx==1.11 tabulate==0.8.2 coinmarketcap==4.2.1 - +simplejson # Required for plotting data #plotly==2.3.0 diff --git a/serverless.yml b/serverless.yml index 9359ea467..5f71e65d0 100644 --- a/serverless.yml +++ b/serverless.yml @@ -62,7 +62,23 @@ custom: createRoute53Record: true pythonRequirements: - dockerizePip: non-linux + slim: true + invalidateCaches: true + dockerizePip: false + noDeploy: + - pytest + - moto + - plotly + - boto3 + - pytest-mock + - pytest-cov + - pymongo +package: + exclude: + - test/** + - __pycache__/** + - node_modules/** + ############################################################################################ # this section defines all lambda function and triggers ############################################################################################