awesome-compose/fastapi/app/main.py
Valon Januzaj 6d6dff8393 Change the docker image to tiangolo/uvicorn-gunicorn-fastapi
Signed-off-by: Valon Januzaj <valon.januzaj98@gmail.com>
Signed-off-by: vjanz <valon.januzaj98@gmail.com>
2021-10-09 21:34:25 +02:00

9 lines
109 B
Python

from fastapi import FastAPI
app = FastAPI()
@app.get("/")
def hello_world():
return {"message": "OK"}