mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
Adding .serverless to git ignore and working on serverless script for backend fastapi
This commit is contained in:
parent
4c26422143
commit
77d44fe407
2 changed files with 6 additions and 0 deletions
|
|
@ -15,4 +15,5 @@ async def get_portfolio(portfolio_id: int):
|
|||
"portfolio_id": portfolio_id,
|
||||
"name": "My Portfolio",
|
||||
"description": "This is my portfolio",
|
||||
"data": "some data"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,6 +13,8 @@ provider:
|
|||
|
||||
package:
|
||||
individually: true
|
||||
include:
|
||||
- Model/backend/**
|
||||
|
||||
plugins:
|
||||
- serverless-python-requirements
|
||||
|
|
@ -22,6 +24,9 @@ custom:
|
|||
pythonRequirements:
|
||||
dockerizePip: true
|
||||
dockerFile: docker/Dockerfile
|
||||
useDocker: true
|
||||
dockerSsh: true
|
||||
fileName: requirements/base.txt
|
||||
|
||||
functions:
|
||||
app:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue