Skip to content

Commit 10dbde3

Browse files
committed
🚀 Setup initial project example
0 parents  commit 10dbde3

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

‎README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
## Simple python docker dev example for the official docker docs
2+
https://docs.docker.com/language/python/containerize/

‎app.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
from fastapi import FastAPI
2+
3+
app = FastAPI()
4+
5+
6+
@app.get("/")
7+
async def root():
8+
return {"message": "Hello World"}

‎requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fastapi==0.111.0

0 commit comments

Comments
 (0)