File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,9 @@ pip install -r requirements.txt
20
20
uvicorn app:app --reload
21
21
```
22
22
23
+ - ` app:app ` loads the FastAPI app from ` app.py ` .
24
+ - ` --reload ` enables auto-reload for development (useful for code changes, not for production).
25
+
23
26
3 . ** Test with:**
24
27
25
28
``` bash
@@ -45,6 +48,26 @@ Python_GML_ML_Pipeline/
45
48
46
49
---
47
50
51
+ ## 🐳 Run with Docker
52
+
53
+ 1 . ** Build the Docker image:**
54
+
55
+ ``` bash
56
+ docker build -t python-gml-ml-pipeline .
57
+ ```
58
+
59
+ 2 . ** Run the Docker container:**
60
+
61
+ ``` bash
62
+ docker run -p 8000:8000 python-gml-ml-pipeline
63
+ ```
64
+
65
+ 3 . ** Access the FastAPI app:**
66
+
67
+ Open [ http://localhost:8000 ] ( http://localhost:8000 ) in your browser.
68
+
69
+ ---
70
+
48
71
## ✨ Author
49
72
50
73
[ ![ Pierre-Henry Soria] ( https://avatars0.githubusercontent.com/u/1325411?s=200 )] ( https://ph7.me " Pierre-Henry Soria, Software Developer ")
You can’t perform that action at this time.
0 commit comments