Logo
Explore Help
Register Sign In
docker/awesome-compose
1
0
Fork 0
You've already forked awesome-compose
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
f16cb84e61538eda29ffc1932aa2ed2be070b886
awesome-compose/fastapi/app/main.py

9 lines
109 B
Python
Raw Normal View History

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
from fastapi import FastAPI
app = FastAPI()
@app.get("/")
def hello_world():
return {"message": "OK"}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 431ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API