Skip to content

Commit 902c268

Browse files
authored
fix: use exec in endpointry.sh to handle signal correctly via starlette (#94)
1 parent 03fcc58 commit 902c268

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/entrypoint.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ if [[ ! -z "${HF_MODEL_DIR}" ]]; then
1818
fi
1919

2020
# Start the server
21-
uvicorn webservice_starlette:app --host 0.0.0.0 --port ${PORT}
21+
exec uvicorn webservice_starlette:app --host 0.0.0.0 --port ${PORT}

0 commit comments

Comments
 (0)