refactor: review props in docker

This commit is contained in:
Jean Gatto
2024-07-30 08:46:56 -03:00
parent e129f36738
commit 6848bfddcc
3 changed files with 20 additions and 16 deletions
+1
View File
@@ -2,6 +2,7 @@
"profiles": {
"Docker Compose": {
"nativeDebugging": true,
"dotnetRunMessages": true,
"commandName": "DockerCompose",
"commandVersion": "1.0",
"serviceActions": {
+4 -1
View File
@@ -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