-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgenezio.yaml
39 lines (38 loc) · 1.24 KB
/
genezio.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# The name of the project.
name: genezio-rag
# The region where the project is deployed. Available regions: us-east-1, eu-central-1
region: eu-central-1
# The version of the Genezio YAML configuration to parse.
yamlVersion: 2
backend:
# The root directory of the backend.
path: ./
# Information about the backend's programming language.
language:
# The name of the programming language.
name: python
# The package manager used by the backend.
packageManager: pip
# Information about the backend's functions.
functions:
# The name (label) of the function.
- name: hello-world-function
# The path to the function's code.
path: ./
# The name of the function handler
handler: app
# The entry point for the function.
entry: main_fastapi.py
type: httpServer
frontend:
path: ./frontend/genezio-rag
publish: dist
scripts:
# List of scripts to run before deploying the frontend.
deploy: npm install
# List of scripts that build your frontend before deployment. It should populate the specified `publish` directory.
build: npm run build
# List of scripts to run when starting the local development server.
start:
- npm install --silent
- npm run dev --silent