/hello-fastapi

Minimal HTTP server

Primary LanguagePythonMIT LicenseMIT

Hello, FastAPI

A minimal FastAPI-based server listening on localhost port 8000.

Test with Python Test with Podman Test with Docker

Run with uv:

uv run python -m uvicorn main:app

Run with Podman:

podman build -t hello-fastapi .
podman run -d -p 8000:8000 hello-fastapi

Run with Docker:

docker build -t hello-fastapi .
docker run -d -p 8000:8000 hello-fastapi