eumora-api / render.yaml
VivDubs's picture
fix: move Dockerfile back to root for HF Spaces compatibility
a52832b
Raw
History Blame Contribute Delete
767 Bytes
services:
- type: web
name: eumora-api
runtime: docker
dockerfilePath: ./Dockerfile
plan: standard # 4 GB RAM — required for DeBERTa inference
numInstances: 1
healthCheckPath: /health
envVars:
- key: SPOTIFY_CLIENT_ID
sync: false # set this in Render dashboard
- key: SPOTIFY_CLIENT_SECRET
sync: false
- key: HF_MODEL_REPO
sync: false # e.g. "yourname/eumora-emotion-classifier"
- key: HF_TOKEN
sync: false # only needed for private HF repos
- key: HF_HOME
value: /app/.cache/huggingface
disk:
name: hf-cache
mountPath: /app/.cache/huggingface
sizeGB: 3 # caches model weights so restarts are fast