We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e2aa956 commit d8f9418Copy full SHA for d8f9418
1 file changed
entrypoint.sh
@@ -7,8 +7,8 @@ NEXT_PORT="${NEXT_PORT:-3000}"
7
echo "Starting ASP.NET Core on ${ASPNETCORE_URLS}..."
8
DOTNET_ENV_VARS=("ASPNETCORE_URLS=${ASPNETCORE_URLS}")
9
10
-# Start ASP.NET Core application
11
-ASPNETCORE_URLS="${ASPNETCORE_URLS}" dotnet /app/api/TechStacks.dll &
+# Start ASP.NET Core application with correct content root so appsettings.json is loaded
+ASPNETCORE_CONTENTROOT="/app/api" ASPNETCORE_URLS="${ASPNETCORE_URLS}" dotnet /app/api/TechStacks.dll &
12
DOTNET_PID=$!
13
14
echo "Starting Next.js on port ${NEXT_PORT}..."
0 commit comments