Some checks are pending
Build and Push Docker Image / build-and-push (push) Waiting to run
13 lines
193 B
Python
13 lines
193 B
Python
from fastapi import FastAPI
|
|
|
|
app = FastAPI()
|
|
|
|
|
|
@app.get("/")
|
|
async def root():
|
|
return {"message": "Hello, World!"}
|
|
|
|
|
|
@app.get("/health")
|
|
async def health():
|
|
return {"status": "healthy"} |