diff options
Diffstat (limited to 'cron')
| -rw-r--r-- | cron/.gitignore | 2 | ||||
| -rw-r--r-- | cron/serverless.yml | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/cron/.gitignore b/cron/.gitignore index 22e4d37..0965ab7 100644 --- a/cron/.gitignore +++ b/cron/.gitignore @@ -1,6 +1,7 @@ # Distribution / packaging .Python env/ +venv/ build/ develop-eggs/ dist/ @@ -15,6 +16,7 @@ var/ *.egg-info/ .installed.cfg *.egg +.env __pycache__ *.pyc diff --git a/cron/serverless.yml b/cron/serverless.yml index e2d8764..bc913ca 100644 --- a/cron/serverless.yml +++ b/cron/serverless.yml @@ -2,7 +2,7 @@ service: cron provider: name: aws - runtime: python3.7 + runtime: python3.8 region: eu-west-1 memorySize: 128 timeout: 20 @@ -19,3 +19,6 @@ functions: handler: handler.update events: - schedule: rate(1 minute) + package: + include: + - venv/lib/python3.8/site-packages/** |
