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
18f59bdb09ecf520dd5758fbf90dec314baec545
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: 220ms Template: 7ms
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