8 lines
125 B
Python
8 lines
125 B
Python
from fastapi import FastAPI
|
|
|
|
app = FastAPI()
|
|
|
|
@app.get("/")
|
|
def read_root():
|
|
return {"message": "Hello, Docker!"}
|