awesome-compose/fastapi/app/main.py
Valon Januzaj b7685ad15f
Add fastapi to the list of compose projects
* Fastapi base Dockerfile
* requirements.txt for fastapi project
* Add documentation on how to run the application
* Add entrypoint for fastapi application
* Add docker-compose.yml for fastapi

Signed-off-by: vjanz <valon.januzaj98@gmail.com>
2021-10-10 23:38:34 +02:00

9 lines
109 B
Python

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