Skip to content

Commit 77b848b

Browse files
committed
Make uvicorn reload when using core override
1 parent 6495a0c commit 77b848b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docker/orchestrator/entrypoint.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,13 @@ if [ -f ${CORE_OVERRIDE}/pyproject.toml ]; then
1515
# Run any missing migrations on the database
1616
python main.py db upgrade heads
1717

18-
uvicorn --host 0.0.0.0 --port 8080 $UVICORN_ARGS main:app --reload --proxy-headers --reload-dir $CORE_OVERRIDE
18+
uvicorn --host 0.0.0.0 --port 8080 $UVICORN_ARGS main:app --reload --proxy-headers \
19+
--reload-dir $CORE_OVERRIDE \
20+
--reload-dir products \
21+
--reload-dir services \
22+
--reload-dir translations \
23+
--reload-dir utils \
24+
--reload-dir workflows
1925
else
2026
# Run any missing migrations on the database
2127
python main.py db upgrade heads

0 commit comments

Comments
 (0)