BackendPayactiv / render.yaml
3v324v23's picture
Deploy backend: add FastAPI app and Dockerfile
7c850fc
Raw History Blame Contribute Delete
377 Bytes
# Render deployment configuration
# This file helps Render properly deploy the FastAPI application
services:
- type: web
name: ewa-demand-forecast-api
runtime: python
pythonVersion: 3.11
buildCommand: pip install -r requirements.txt
startCommand: uvicorn main:app --host 0.0.0.0 --port $PORT
envVars:
- key: PYTHONUNBUFFERED
value: "1"