forked from phoenix/litellm-mirror
build(config.yml): run logging in background
This commit is contained in:
parent
cf5e31a0b2
commit
133f6f51d7
1 changed files with 7 additions and 2 deletions
|
@ -115,8 +115,13 @@ jobs:
|
|||
sudo tar -C /usr/local/bin -xzvf dockerize-linux-amd64-v0.6.1.tar.gz
|
||||
sudo rm dockerize-linux-amd64-v0.6.1.tar.gz
|
||||
- run:
|
||||
name: Display container logs
|
||||
command: docker logs my-app
|
||||
name: Start outputting logs
|
||||
command: |
|
||||
while true; do
|
||||
docker logs my-app
|
||||
sleep 10
|
||||
done
|
||||
background: true
|
||||
- run:
|
||||
name: Wait for app to be ready
|
||||
command: dockerize -wait http://localhost:4000 -timeout 1m
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue