diff --git a/Dockerfile.windows b/Dockerfile.windows index 845b62d..8a480d3 100644 --- a/Dockerfile.windows +++ b/Dockerfile.windows @@ -25,13 +25,13 @@ COPY ["Components/", "Components/"] # Build del progetto principale con output path corto WORKDIR "/s/Data_Coupler" -RUN dotnet build "Data_Coupler.csproj" -c Release -o /o --no-restore /p:MinVerVersionOverride=%APP_VERSION% +RUN dotnet build "Data_Coupler.csproj" -c Release -o /o --no-restore /p:ContinuousIntegrationBuild=true /p:MinVerVersionOverride=%APP_VERSION% # Stage 2: Publish FROM build AS publish # Necessario ridichiarare ARG dopo FROM in multi-stage build ARG APP_VERSION=0.0.0-alpha.0 -RUN dotnet publish "Data_Coupler.csproj" -c Release -o /p --no-restore -r win-x64 --self-contained false /p:MinVerVersionOverride=%APP_VERSION% +RUN dotnet publish "Data_Coupler.csproj" -c Release -o /p --no-restore -r win-x64 --self-contained false /p:ContinuousIntegrationBuild=true /p:MinVerVersionOverride=%APP_VERSION% # Stage 3: Runtime FROM mcr.microsoft.com/dotnet/aspnet:9.0-nanoserver-ltsc2022 AS final