Flask
Para produção, prefira gunicorn.Exemplo de requirements.txt
Exemplo de ambarks.json (gunicorn)
Configurações no dashboard
- Porta interna:
8000
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Deploy com flask/ gunicorn e bind correto.
requirements.txtflask
gunicorn
ambarks.json (gunicorn){
"build": {
"installCommand": "pip install --no-cache-dir -r requirements.txt"
},
"run": {
"command": "gunicorn -b 0.0.0.0:8000 app:app"
}
}
8000Was this page helpful?
