2
0
mirror of https://github.com/offen/website.git synced 2024-11-22 01:00:26 +01:00

fix serverless module config for accounts app

This commit is contained in:
Frederik Ring 2019-07-09 18:59:24 +02:00
parent c8c59eadca
commit dfb1854aab
2 changed files with 4 additions and 10 deletions

View File

@ -277,10 +277,10 @@ jobs:
key: offen-packages-{{ checksum "package.json" }}
- run:
name: Deploy
working_directory: ~/offen
working_directory: ~/offen/accounts
command: |
echo "Deploying accounts ..."
$(npm bin)/sls deploy --config accounts/serverless.yml
$(npm bin)/sls deploy
deploy_golang:
docker:

View File

@ -14,9 +14,6 @@ provider:
package:
individually: true
excludeDevDependencies: false
exclude:
- '**/*'
plugins:
- serverless-domain-manager
@ -45,18 +42,15 @@ custom:
endpointType: regional
createRoute53Record: false
wsgi:
app: accounts.accounts.app
app: accounts.app
packRequirements: false
pythonRequirements:
slim: true
dockerizePip: non-linux
fileName: accounts/requirements.txt
fileName: requirements.txt
functions:
app:
package:
include:
- accounts/**/*
handler: wsgi_handler.handler
events:
- http: