6 lines
236 B
Bash
Executable File
6 lines
236 B
Bash
Executable File
#!/bin/sh
|
|
# Translate Cloud Run's injected PORT env var into what ASP.NET Core reads.
|
|
# Cloud Run sets PORT (default 8080). ASP.NET Core reads ASPNETCORE_HTTP_PORTS.
|
|
export ASPNETCORE_HTTP_PORTS="${PORT:-8080}"
|
|
exec ./Htmx.ApiDemo "$@"
|