Skip to content

Commit

Permalink
Merge pull request #27 from chrisburr/use-tini
Browse files Browse the repository at this point in the history
feat: Use tini for server containers
  • Loading branch information
chrisburr authored Dec 19, 2024
2 parents 45c9468 + fd5c68c commit 0454480
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions client-base/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ dependencies:
- python-multipart
- rich
- typer
- tini
3 changes: 2 additions & 1 deletion server-base/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ ulimit -n 8192

eval "$(micromamba shell hook --shell=posix)"
micromamba activate base
exec "$@"
# Use tini to avoid zombie processes and properly handle signal forwarding
exec tini -- "$@"

0 comments on commit 0454480

Please sign in to comment.