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>
This commit is contained in:
Valon Januzaj
2021-07-22 11:39:40 +02:00
committed by vjanz
parent 33960f9678
commit 6d6dff8393
5 changed files with 19 additions and 19 deletions

0
fastapi/app/__init__.py Normal file
View File

8
fastapi/app/main.py Normal file
View File

@@ -0,0 +1,8 @@
from fastapi import FastAPI
app = FastAPI()
@app.get("/")
def hello_world():
return {"message": "OK"}