Skip to content

CleverCloud/python-fastapi-uv-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FastAPI with uv on Clever Cloud

You'll need a Clever Cloud account and Clever Tools to deploy this application, using our Python image now including uv.

Clone this repository and deploy

git clone https://github.com/CleverCloud/python-fastapi-uv-example.git
cd python-fastapi-uv-example

clever create -t python

# If these environment variables and a `uv.lock` file are found, `uv` is used for deployment
clever env set CC_PYTHON_UV_SYNC_FLAGS -- "--locked --no-progress"
clever env set CC_PYTHON_UV_RUN_COMMAND ".venv/bin/fastapi run server.py --port 8080 --host 0.0.0.0"

clever deploy

About

Deploy a Fast API app, blazing fast, using uv on Clever Cloud

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages