mirror of
https://github.com/offen/website.git
synced 2024-11-22 09:00:28 +01:00
fix serverless module config for accounts app
This commit is contained in:
parent
c8c59eadca
commit
dfb1854aab
@ -277,10 +277,10 @@ jobs:
|
|||||||
key: offen-packages-{{ checksum "package.json" }}
|
key: offen-packages-{{ checksum "package.json" }}
|
||||||
- run:
|
- run:
|
||||||
name: Deploy
|
name: Deploy
|
||||||
working_directory: ~/offen
|
working_directory: ~/offen/accounts
|
||||||
command: |
|
command: |
|
||||||
echo "Deploying accounts ..."
|
echo "Deploying accounts ..."
|
||||||
$(npm bin)/sls deploy --config accounts/serverless.yml
|
$(npm bin)/sls deploy
|
||||||
|
|
||||||
deploy_golang:
|
deploy_golang:
|
||||||
docker:
|
docker:
|
||||||
|
@ -14,9 +14,6 @@ provider:
|
|||||||
|
|
||||||
package:
|
package:
|
||||||
individually: true
|
individually: true
|
||||||
excludeDevDependencies: false
|
|
||||||
exclude:
|
|
||||||
- '**/*'
|
|
||||||
|
|
||||||
plugins:
|
plugins:
|
||||||
- serverless-domain-manager
|
- serverless-domain-manager
|
||||||
@ -45,18 +42,15 @@ custom:
|
|||||||
endpointType: regional
|
endpointType: regional
|
||||||
createRoute53Record: false
|
createRoute53Record: false
|
||||||
wsgi:
|
wsgi:
|
||||||
app: accounts.accounts.app
|
app: accounts.app
|
||||||
packRequirements: false
|
packRequirements: false
|
||||||
pythonRequirements:
|
pythonRequirements:
|
||||||
slim: true
|
slim: true
|
||||||
dockerizePip: non-linux
|
dockerizePip: non-linux
|
||||||
fileName: accounts/requirements.txt
|
fileName: requirements.txt
|
||||||
|
|
||||||
functions:
|
functions:
|
||||||
app:
|
app:
|
||||||
package:
|
|
||||||
include:
|
|
||||||
- accounts/**/*
|
|
||||||
handler: wsgi_handler.handler
|
handler: wsgi_handler.handler
|
||||||
events:
|
events:
|
||||||
- http:
|
- http:
|
||||||
|
Loading…
Reference in New Issue
Block a user