Skip to content

Commit

Permalink
Update entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielmbmb committed Sep 11, 2024
1 parent 5c41161 commit 0c7af7a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions candle-holder-serve/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ if [ ! -z "$CANDLE_HOLDER_DTYPE" ]; then
ARGS+=("--dtype" "$CANDLE_HOLDER_DTYPE")
fi

if [ ! -z "$CANDLE_HOLDER_NUM_WORKERS" ]; then
ARGS+=("--num-workers" "$CANDLE_HOLDER_NUM_WORKERS")
fi

CANDLE_HOLDER_HOST=${CANDLE_HOLDER_HOST:-0.0.0.0:8080}
ARGS+=("--host" "$CANDLE_HOLDER_HOST")

Expand Down

0 comments on commit 0c7af7a

Please # to comment.