Skip to content

Commit 272a387

Browse files
authored
Merge pull request #25 from jongalloway/copilot/fix-23-2
[WIP] ⏳ Docker build / test timeout after latest commit
2 parents fc17169 + 4cfa80c commit 272a387

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

deployment/docker/Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
66
WORKDIR /src
77

8+
# Set essential environment variables for .NET in containerized environments
9+
ENV DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true
10+
ENV DOTNET_CLI_TELEMETRY_OPTOUT=true
11+
ENV NUGET_XMLDOC_MODE=skip
12+
813
# Copy solution file and project files for dependency resolution
914
COPY ["NLWebNet.sln", "./"]
1015
COPY ["src/NLWebNet/NLWebNet.csproj", "src/NLWebNet/"]

0 commit comments

Comments
 (0)