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
2020uvicorn app:app --reload
2121```
2222
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+
23263 . ** Test with:**
2427
2528``` bash
@@ -45,6 +48,26 @@ Python_GML_ML_Pipeline/
4548
4649---
4750
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+
4871## ✨ Author
4972
5073[ ![ 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