Skip to content

Commit d8f9418

Browse files
committed
Update entrypoint.sh
1 parent e2aa956 commit d8f9418

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

entrypoint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ NEXT_PORT="${NEXT_PORT:-3000}"
77
echo "Starting ASP.NET Core on ${ASPNETCORE_URLS}..."
88
DOTNET_ENV_VARS=("ASPNETCORE_URLS=${ASPNETCORE_URLS}")
99

10-
# Start ASP.NET Core application
11-
ASPNETCORE_URLS="${ASPNETCORE_URLS}" dotnet /app/api/TechStacks.dll &
10+
# Start ASP.NET Core application with correct content root so appsettings.json is loaded
11+
ASPNETCORE_CONTENTROOT="/app/api" ASPNETCORE_URLS="${ASPNETCORE_URLS}" dotnet /app/api/TechStacks.dll &
1212
DOTNET_PID=$!
1313

1414
echo "Starting Next.js on port ${NEXT_PORT}..."

0 commit comments

Comments
 (0)