Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sg-app-python

A minimal FastAPI service used to showcase Python Docker builds on Seagit: push a branch, the platform builds this Dockerfile, pushes the image to ECR and deploys it.

Route Purpose
GET / identifies the running build (service, Python version, commit)
GET /health liveness/readiness probe

Run locally

pip install -r requirements.txt
uvicorn main:app --reload --port 8000
# or
docker build -t sg-app-python . && docker run --rm -p 8000:8000 sg-app-python

The container listens on 8000 and runs as a non-root user.

About

Minimal FastAPI service showcasing Python Docker builds on Seagit

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages