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>
This commit is contained in:
0
fastapi/app/__init__.py
Normal file
0
fastapi/app/__init__.py
Normal file
8
fastapi/app/main.py
Normal file
8
fastapi/app/main.py
Normal file
@@ -0,0 +1,8 @@
|
||||
from fastapi import FastAPI
|
||||
|
||||
app = FastAPI()
|
||||
|
||||
|
||||
@app.get("/")
|
||||
def hello_world():
|
||||
return {"message": "OK"}
|
Reference in New Issue
Block a user