#!/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