mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
testing different structure
This commit is contained in:
parent
754799a5ed
commit
aaf15da491
2 changed files with 13 additions and 8 deletions
2
.github/workflows/deploy_fastapi_backend.yml
vendored
2
.github/workflows/deploy_fastapi_backend.yml
vendored
|
|
@ -67,4 +67,4 @@ jobs:
|
|||
SECRET_KEY: ${{ secrets.NEXTAUTH_SECRET }}
|
||||
PLAN_TRIGGER_BUCKET: 'retrofit-plan-inputs-${{ github.ref_name }}'
|
||||
DOMAIN_NAME: ${{ steps.set_domain.outputs.domain }}
|
||||
run: cd backend && sls deploy --stage ${{ github.ref_name }} --verbose
|
||||
run: sls deploy --stage ${{ github.ref_name }} --verbose
|
||||
|
|
|
|||
|
|
@ -15,10 +15,15 @@ provider:
|
|||
|
||||
package:
|
||||
individually: true
|
||||
include:
|
||||
- Model/backend/**
|
||||
# Might need to refine the paths that are included
|
||||
- Model/model_data/**
|
||||
# include:
|
||||
# - backend/**
|
||||
# # Might need to refine the paths that are included
|
||||
# - model_data/**
|
||||
exclude:
|
||||
- model_data/local_data/**
|
||||
- infrastructure/**
|
||||
- data_collection/**
|
||||
- node_modules/**
|
||||
|
||||
plugins:
|
||||
- serverless-python-requirements
|
||||
|
|
@ -27,10 +32,10 @@ plugins:
|
|||
custom:
|
||||
pythonRequirements:
|
||||
dockerizePip: true
|
||||
dockerFile: docker/Dockerfile
|
||||
dockerFile: backend/docker/Dockerfile
|
||||
useDocker: true
|
||||
dockerSsh: true
|
||||
fileName: requirements/base.txt
|
||||
# fileName: backend/requirements/base.txt
|
||||
dockerBuildCmdExtraArgs:
|
||||
- '--progress=plain'
|
||||
customDomain:
|
||||
|
|
@ -40,7 +45,7 @@ custom:
|
|||
|
||||
functions:
|
||||
app:
|
||||
handler: app.main.handler
|
||||
handler: backend.app.main.handler
|
||||
events:
|
||||
- http:
|
||||
path: /{proxy+}
|
||||
Loading…
Add table
Reference in a new issue