diff --git a/docker-compose.dcproj b/docker-compose.dcproj index 888968e..6b144cd 100644 --- a/docker-compose.dcproj +++ b/docker-compose.dcproj @@ -1,18 +1,18 @@ - - 2.1 - Linux - 24ef58f6-cbf8-4910-a17c-e8de7ed96a87 - LaunchBrowser - {Scheme}://localhost:{ServicePort}/swagger - shop-webapi - - - - docker-compose.yml - - - - + + 2.1 + Linux + 24ef58f6-cbf8-4910-a17c-e8de7ed96a87 + LaunchBrowser + {Scheme}://localhost:{ServicePort}/swagger + shop-webapi + + + + docker-compose.yml + + + + \ No newline at end of file diff --git a/launchSettings.json b/launchSettings.json index d8e83ff..903b5fb 100644 --- a/launchSettings.json +++ b/launchSettings.json @@ -2,6 +2,7 @@ "profiles": { "Docker Compose": { "nativeDebugging": true, + "dotnetRunMessages": true, "commandName": "DockerCompose", "commandVersion": "1.0", "serviceActions": { diff --git a/src/Shop.PublicApi/Dockerfile b/src/Shop.PublicApi/Dockerfile index 5f4a167..7148a2a 100644 --- a/src/Shop.PublicApi/Dockerfile +++ b/src/Shop.PublicApi/Dockerfile @@ -3,9 +3,12 @@ WORKDIR /app EXPOSE 80 ENV ASPNETCORE_URLS=http://+:80 + +# Specifies whether .NET welcome and telemetry messages are displayed on the first run. ENV DOTNET_NOLOGO=1 + +# Specifies whether data about the .NET tools usage is collected and sent to Microsoft. ENV DOTNET_CLI_TELEMETRY_OPTOUT=1 -ENV DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1 FROM mcr.microsoft.com/dotnet/sdk:8.0-bookworm-slim AS build WORKDIR /src