-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
31 lines (27 loc) · 767 Bytes
/
Copy pathrender.yaml
File metadata and controls
31 lines (27 loc) · 767 Bytes
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
services:
- type: web
name: cordilyze
runtime: python
region: oregon
plan: starter
buildCommand: |
pip install -r requirements.txt
mkdir -p models data uploads
python src/train_model.py
startCommand: |
streamlit run cordilyze_app.py \
--server.port $PORT \
--server.address 0.0.0.0 \
--server.headless true \
--server.enableCORS false \
--server.enableXsrfProtection false \
--browser.gatherUsageStats false
envVars:
- key: PYTHON_VERSION
value: "3.11.7"
- key: STREAMLIT_SERVER_HEADLESS
value: "true"
- key: STREAMLIT_BROWSER_GATHER_USAGE_STATS
value: "false"
healthCheckPath: /_stcore/health
autoDeploy: true