Files
Teamup/docker/entrypoint.sh
T

10 lines
215 B
Bash
Raw Normal View History

2026-06-09 06:41:28 +03:30
#!/bin/sh
# One image, two roles. RUN_MODE selects which host binary to run (default: web).
set -e
if [ "$RUN_MODE" = "worker" ]; then
exec dotnet /app/TeamUp.Worker.dll
else
exec dotnet /app/TeamUp.Web.dll
fi