mirror of
https://github.com/fastapi/full-stack-fastapi-template.git
synced 2026-11-03 12:29:42 +00:00
♻️ Use FastAPI entrypoint in Compose (#2420)
## AI Disclaimer Using Codex with gpt-5.6-sol. Reviewed manually.
This commit is contained in:
committed by
GitHub
parent
f2035ef732
commit
5069df32ea
@@ -44,9 +44,9 @@ services:
|
|||||||
# command: sleep infinity # Infinite loop to keep container alive doing nothing
|
# command: sleep infinity # Infinite loop to keep container alive doing nothing
|
||||||
command:
|
command:
|
||||||
- fastapi
|
- fastapi
|
||||||
- run
|
- dev
|
||||||
- --reload
|
- --host
|
||||||
- "app/main.py"
|
- "0.0.0.0"
|
||||||
develop:
|
develop:
|
||||||
watch:
|
watch:
|
||||||
- path: ./backend
|
- path: ./backend
|
||||||
|
|||||||
Reference in New Issue
Block a user