Skip to content

Commit 0454480

Browse files
authored
Merge pull request #27 from chrisburr/use-tini
feat: Use tini for server containers
2 parents 45c9468 + fd5c68c commit 0454480

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

client-base/environment.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ dependencies:
1212
- python-multipart
1313
- rich
1414
- typer
15+
- tini

server-base/entrypoint.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ ulimit -n 8192
99

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

0 commit comments

Comments
 (0)