minimal building container
This commit is contained in:
16
src/app.py
Normal file
16
src/app.py
Normal file
@@ -0,0 +1,16 @@
|
||||
import os
|
||||
import sqlite3
|
||||
from fastapi import FastAPI
|
||||
|
||||
|
||||
|
||||
app = FastAPI(
|
||||
docs_url=None, # Disable Swagger UI
|
||||
redoc_url=None, # Disable ReDoc
|
||||
openapi_url=None # Disable OpenAPI JSON schema
|
||||
)
|
||||
|
||||
|
||||
@app.get("/")
|
||||
async def root():
|
||||
return {"message": "Hello World"}
|
||||
Reference in New Issue
Block a user