Created
July 19, 2020 20:35
-
-
Save Olshansk/87df83c4d42d9adfdcd3812e597fc49b to your computer and use it in GitHub Desktop.
Hot Reload Dockerfile - Python Server File
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from typing import Optional | |
| from fastapi import FastAPI | |
| app = FastAPI() | |
| @app.get("/") | |
| def read_root(): | |
| return {"Hello2": "World5"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment