mirror of
https://github.com/docker/awesome-compose.git
synced 2026-11-15 09:51:17 +01:00
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:
1 parent
263ba37b97
commit
b7685ad15f
6 files changed
+86
No files matched your search
@@ -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